mirror of
https://github.com/johnkerl/miller.git
synced 2026-07-23 07:59:37 +00:00
11 lines
222 B
C
11 lines
222 B
C
#ifndef LEMON_ASSERT_H
|
|
#define LEMON_ASSERT_H
|
|
|
|
void lemon_assert(char *file, int line);
|
|
#ifndef NDEBUG
|
|
# define assert(X) if(!(X))lemon_assert(__FILE__,__LINE__)
|
|
#else
|
|
# define assert(X)
|
|
#endif
|
|
|
|
#endif // LEMON_ASSERT_H
|