Macro LUAI_ASSERT eases turning assertions on

This commit is contained in:
Roberto Ierusalimschy
2020-07-08 15:51:55 -03:00
parent 56ec432281
commit 6f5bd5072d
3 changed files with 11 additions and 4 deletions

View File

@@ -20,9 +20,7 @@
/* turn on assertions */
#undef NDEBUG
#include <assert.h>
#define lua_assert(c) assert(c)
#define LUAI_ASSERT