blob: 7d41b5705c925bb725e5be381a3861f47dcbce44 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
#ifndef LISIBLE_PNG_ASSET_H
#define LISIBLE_PNG_ASSET_H
#include "log.h"
#define ASSERT(predicate) \
do { \
if (!(predicate)) { \
LOGN("Assertion failed in %s:%d:\n\t%s", __FILE__, __LINE__, \
#predicate); \
exit(1); \
} \
} while (0)
#endif // LISIBLE_PNG_ASSET_H
|