Changes in kernel/generic/include/debug.h [dd870b1:0843f02] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/debug.h
rdd870b1 r0843f02 37 37 38 38 #include <panic.h> 39 #include <symtab _lookup.h>39 #include <symtab.h> 40 40 41 41 #define CALLER ((uintptr_t) __builtin_return_address(0)) … … 77 77 } while (0) 78 78 79 /** Static assert macro80 *81 */82 #define STATIC_ASSERT(expr) \83 _Static_assert(expr, "")84 85 #define STATIC_ASSERT_VERBOSE(expr, msg) \86 _Static_assert(expr, msg)87 88 89 79 #else /* CONFIG_DEBUG */ 90 80 91 81 #define ASSERT(expr) 92 82 #define ASSERT_VERBOSE(expr, msg) 93 #define STATIC_ASSERT(expr)94 #define STATIC_ASSERT_VERBOSE(expr, msg)95 83 96 84 #endif /* CONFIG_DEBUG */
Note:
See TracChangeset
for help on using the changeset viewer.