Toggle navigation
Documentation
The friendly Operating System for the Internet of Things
Loading...
Searching...
No Matches
valgrind.h
1
/*
2
* SPDX-FileCopyrightText: 2025 carl-tud
3
* SPDX-License-Identifier: LGPL-2.1-only
4
*/
5
6
#pragma once
7
8
#ifdef HAVE_VALGRIND
9
/* __has_include() will only be reached on native and only when valgrind is
10
* enabled, so we do not limit compatibility with embedded toolchains here */
11
# if __has_include(<valgrind/valgrind.h>)
12
# include <valgrind/valgrind.h>
13
# else
14
# include <valgrind.h>
15
# endif
16
# include <valgrind.h>
17
# define VALGRIND_DEBUG DEBUG
18
#else
19
# define VALGRIND_STACK_REGISTER(...) (0)
20
# define VALGRIND_DEBUG(...)
21
#endif
22
23
#ifdef __cplusplus
24
extern
"C"
{}
25
#endif
Generated on Thu Feb 26 2026 19:45:48 by
1.13.2