aboutsummaryrefslogtreecommitdiff
path: root/luaconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'luaconf.h')
-rw-r--r--luaconf.h12
1 files changed, 2 insertions, 10 deletions
diff --git a/luaconf.h b/luaconf.h
index a0504e0f..d4d93974 100644
--- a/luaconf.h
+++ b/luaconf.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: luaconf.h,v 1.75 2005/11/25 13:29:11 roberto Exp roberto $ 2** $Id: luaconf.h,v 1.76 2005/12/15 18:53:34 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*/
@@ -183,13 +183,6 @@
183 183
184 184
185/* 185/*
186@@ lua_assert describes the internal assertions in Lua.
187** CHANGE that only if you need to debug Lua.
188*/
189#define lua_assert(c) ((void)0)
190
191
192/*
193@@ LUA_QL describes how error messages quote program elements. 186@@ LUA_QL describes how error messages quote program elements.
194** CHANGE it if you want a different appearance. 187** CHANGE it if you want a different appearance.
195*/ 188*/
@@ -373,8 +366,7 @@
373#include <assert.h> 366#include <assert.h>
374#define luai_apicheck(L,o) { (void)L; assert(o); } 367#define luai_apicheck(L,o) { (void)L; assert(o); }
375#else 368#else
376/* (By default lua_assert is empty, so luai_apicheck is also empty.) */ 369#define luai_apicheck(L,o) { (void)L; }
377#define luai_apicheck(L,o) { (void)L; lua_assert(o); }
378#endif 370#endif
379 371
380 372