projects
/
bluesky.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
ec360d51ef5d747ff98b901b374e2bc080f1ad9b
[bluesky.git]
/
TBBT
/
trace_play
/
rfs_assert.h
1
#ifndef RFS_ASSERT_H
2
#define RFS_ASSERT_H
3
#define RFS_ASSERT(condition) \
4
if (!(condition)) { \
5
fprintf(stderr, "Assertion failed: line %d, file \"%s\"\n", \
6
__LINE__, __FILE__); \
7
fflush(stdout); \
8
fflush(stdout); \
9
fflush(stderr); \
10
fflush(stderr); \
11
exit(-1); \
12
}
13
#endif