aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2004-06-23 12:57:29 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2004-06-23 12:57:29 -0300
commit42b74ccf1d8c2bb181be6900b068a3a011e106a9 (patch)
tree5229bf829afe3ef8ff97626dacc73d90c5e4d190
parent0c49857c1ab08a5adfe1e21e5370e8aa132e4da1 (diff)
downloadlua-42b74ccf1d8c2bb181be6900b068a3a011e106a9.tar.gz
lua-42b74ccf1d8c2bb181be6900b068a3a011e106a9.tar.bz2
lua-42b74ccf1d8c2bb181be6900b068a3a011e106a9.zip
libraries may want to use `lua_assert' too...
-rw-r--r--llimits.h7
-rw-r--r--luaconf.h5
2 files changed, 5 insertions, 7 deletions
diff --git a/llimits.h b/llimits.h
index 50a44651..4aae7fc5 100644
--- a/llimits.h
+++ b/llimits.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: llimits.h,v 1.57 2003/12/01 16:33:30 roberto Exp roberto $ 2** $Id: llimits.h,v 1.58 2004/04/30 20:13:38 roberto Exp roberto $
3** Limits, basic types, and some other `installation-dependent' definitions 3** Limits, basic types, and some other `installation-dependent' definitions
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -63,11 +63,6 @@ typedef LUSER_ALIGNMENT_T L_Umaxalign;
63typedef LUA_UACNUMBER l_uacNumber; 63typedef LUA_UACNUMBER l_uacNumber;
64 64
65 65
66#ifndef lua_assert
67#define lua_assert(c) /* empty */
68#endif
69
70
71#ifndef check_exp 66#ifndef check_exp
72#define check_exp(c,e) (e) 67#define check_exp(c,e) (e)
73#endif 68#endif
diff --git a/luaconf.h b/luaconf.h
index 93793e55..dcc96cd1 100644
--- a/luaconf.h
+++ b/luaconf.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: luaconf.h,v 1.5 2004/06/02 13:24:43 roberto Exp roberto $ 2** $Id: luaconf.h,v 1.6 2004/06/02 19:07:55 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*/
@@ -55,6 +55,9 @@
55/* first index for arrays */ 55/* first index for arrays */
56#define LUA_FIRSTINDEX 1 56#define LUA_FIRSTINDEX 1
57 57
58/* assertions in Lua (mainly for internal debugging) */
59#define lua_assert(c) /* empty */
60
58/* }====================================================== */ 61/* }====================================================== */
59 62
60 63