Numworks Epsilon  1.4.1
Graphing Calculator Operating System
assert.h
Go to the documentation of this file.
1 #ifndef LIBA_ASSERT_H
2 #define LIBA_ASSERT_H
3 
4 #include "private/macros.h"
5 
6 #if DEBUG
7 #define assert(e) ((void) ((e) ? ((void)0) : __assert(#e, __FILE__, __LINE__)))
8 #else
9 #define assert(e) ((void)0)
10 #endif
11 
13 
14 void __assert(const char * expression, const char * file, int line);
15 
17 
18 #endif
#define LIBA_BEGIN_DECLS
Definition: macros.h:8
LIBA_BEGIN_DECLS void __assert(const char *expression, const char *file, int line)
Definition: assert.c:4
#define LIBA_END_DECLS
Definition: macros.h:9