aboutsummaryrefslogtreecommitdiff
path: root/lobject.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-06-30 11:35:17 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-06-30 11:35:17 -0300
commitcfba57207660fd27ddac9ea51cdeb263c2d6b418 (patch)
tree3112ff095cd058017823a64dd592649ff750de89 /lobject.h
parentaa01d2568dcecf5a12ce2d8f04e969658ea46c89 (diff)
downloadlua-cfba57207660fd27ddac9ea51cdeb263c2d6b418.tar.gz
lua-cfba57207660fd27ddac9ea51cdeb263c2d6b418.tar.bz2
lua-cfba57207660fd27ddac9ea51cdeb263c2d6b418.zip
remove dummy argument in LUA_ASSERT
Diffstat (limited to 'lobject.h')
-rw-r--r--lobject.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/lobject.h b/lobject.h
index 01235ffa..2185eac4 100644
--- a/lobject.h
+++ b/lobject.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lobject.h,v 1.68 2000/06/26 19:28:31 roberto Exp roberto $ 2** $Id: lobject.h,v 1.69 2000/06/28 20:20:36 roberto Exp roberto $
3** Type definitions for Lua objects 3** Type definitions for Lua objects
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -15,11 +15,11 @@
15#ifdef DEBUG 15#ifdef DEBUG
16#undef NDEBUG 16#undef NDEBUG
17#include <assert.h> 17#include <assert.h>
18#define LUA_INTERNALERROR(L,s) assert(((void)s,0)) 18#define LUA_INTERNALERROR(s) assert(((void)s,0))
19#define LUA_ASSERT(L,c,s) assert(((void)s,(c))) 19#define LUA_ASSERT(c,s) assert(((void)s,(c)))
20#else 20#else
21#define LUA_INTERNALERROR(L,s) /* empty */ 21#define LUA_INTERNALERROR(s) /* empty */
22#define LUA_ASSERT(L,c,s) /* empty */ 22#define LUA_ASSERT(c,s) /* empty */
23#endif 23#endif
24 24
25 25