VSF Documented
assert.h
Go to the documentation of this file.
1// for VSF_ASSERT and compiler info
3
4#ifdef __cplusplus
5extern "C" {
6#endif
7
8#undef assert
9
10#ifdef NDEBUG
11# define assert(...) ((void)0)
12#else
13# define assert VSF_ASSERT
14#endif
15
16#if !defined(__cplusplus)
17// _Static_assert is keyword, not MACRO
18//# define _Static_assert(__expr, ...) VSF_STATIC_ASSERT(__expr)
19# define static_assert _Static_assert
20#endif
21
22#ifdef __cplusplus
23}
24#endif
Generated from commit: vsfteam/vsf@2b286be