Macro LUAI_ASSERT eases turning assertions on

This commit is contained in:
Roberto Ierusalimschy committed 2020-07-08 15:51:55 -03:00
1 parent 56ec432281
commit 6f5bd5072d
3 files changed
+11 -4

No files matched your search

+1
View File
@@ -38,6 +38,7 @@ CWARNSC= -Wdeclaration-after-statement \
CWARNS= $(CWARNSCPP) $(CWARNSC)
# Some useful compiler options for internal tests:
# -DLUAI_ASSERT turns on all assertions inside Lua.
# -DHARDSTACKTESTS forces a reallocation of the stack at every point where
# the stack can be reallocated.
# -DHARDMEMTESTS forces a full collection at all points where the collector