summaryrefslogtreecommitdiff
path: root/include/luaconf.h
diff options
context:
space:
mode:
authorLua Team <team@lua.org>2004-09-21 12:00:00 +0000
committerrepogen <>2004-09-21 12:00:00 +0000
commitd8fd22e11b391cf183068049bebbee9702c8f78f (patch)
tree12d2fd56e51ab38e8ad660c34aca2975d1a273ea /include/luaconf.h
parent5d480731503a315eab9d6ab9426e3d4cfd5e52f8 (diff)
downloadlua-github-5.1-work2.tar.gz
Lua 5.1-work25.1-work2
Diffstat (limited to 'include/luaconf.h')
-rw-r--r--include/luaconf.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/luaconf.h b/include/luaconf.h
index 56567c00..7ef4cedf 100644
--- a/include/luaconf.h
+++ b/include/luaconf.h
@@ -1,5 +1,5 @@
/*
-** $Id: luaconf.h,v 1.11 2004/08/30 18:35:14 roberto Exp $
+** $Id: luaconf.h,v 1.12 2004/09/10 17:30:46 roberto Exp $
** Configuration file for Lua
** See Copyright Notice in lua.h
*/
@@ -60,7 +60,7 @@
#define LUA_FIRSTINDEX 1
/* assertions in Lua (mainly for internal debugging) */
-#define lua_assert(c) /* empty */
+#define lua_assert(c) ((void)0)
/* }====================================================== */
@@ -123,7 +123,7 @@
#ifdef LUA_CORE
/* LUA-C API assertions */
-#define api_check(L, o) /* empty */
+#define api_check(L, o) lua_assert(o)
/* an unsigned integer with at least 32 bits */