aboutsummaryrefslogtreecommitdiff
path: root/luaconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'luaconf.h')
-rw-r--r--luaconf.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/luaconf.h b/luaconf.h
index a9f0cff7..47e15b3f 100644
--- a/luaconf.h
+++ b/luaconf.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: luaconf.h,v 1.10 2004/08/30 13:44:04 roberto Exp roberto $ 2** $Id: luaconf.h,v 1.11 2004/08/30 18:35:14 roberto Exp roberto $
3** Configuration file for Lua 3** Configuration file for Lua
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -60,7 +60,7 @@
60#define LUA_FIRSTINDEX 1 60#define LUA_FIRSTINDEX 1
61 61
62/* assertions in Lua (mainly for internal debugging) */ 62/* assertions in Lua (mainly for internal debugging) */
63#define lua_assert(c) /* empty */ 63#define lua_assert(c) ((void)0)
64 64
65/* }====================================================== */ 65/* }====================================================== */
66 66
@@ -123,7 +123,7 @@
123#ifdef LUA_CORE 123#ifdef LUA_CORE
124 124
125/* LUA-C API assertions */ 125/* LUA-C API assertions */
126#define api_check(L, o) /* empty */ 126#define api_check(L, o) lua_assert(o)
127 127
128 128
129/* an unsigned integer with at least 32 bits */ 129/* an unsigned integer with at least 32 bits */