完善FCI相关代码

This commit is contained in:
xia-chu
2021-04-23 15:06:55 +08:00
parent 743862d786
commit 48338af700
6 changed files with 255 additions and 202 deletions

View File

@@ -21,6 +21,8 @@ extern void Assert_Throw(int failed, const char *exp, const char *func, const ch
}
#endif
#define CHECK(exp) Assert_Throw(!(exp), #exp, __FUNCTION__, __FILE__, __LINE__)
#ifndef NDEBUG
#ifdef assert
#undef assert