aboutsummaryrefslogtreecommitdiff
path: root/ltests.h
diff options
context:
space:
mode:
Diffstat (limited to 'ltests.h')
-rw-r--r--ltests.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/ltests.h b/ltests.h
index e3d1ca1e..04aa91b3 100644
--- a/ltests.h
+++ b/ltests.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltests.h,v 2.51 2017/06/27 11:35:31 roberto Exp roberto $ 2** $Id: ltests.h,v 2.52 2017/11/13 12:19:35 roberto Exp roberto $
3** Internal Header for Debugging of the Lua Implementation 3** Internal Header for Debugging of the Lua Implementation
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -34,6 +34,10 @@
34#define lua_assert(c) assert(c) 34#define lua_assert(c) assert(c)
35 35
36 36
37/* compiled with -O0, Lua uses a lot of C stack space... */
38#undef LUAI_MAXCCALLS
39#define LUAI_MAXCCALLS 300
40
37/* to avoid warnings, and to make sure value is really unused */ 41/* to avoid warnings, and to make sure value is really unused */
38#define UNUSED(x) (x=0, (void)(x)) 42#define UNUSED(x) (x=0, (void)(x))
39 43