diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-06-30 11:35:17 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-06-30 11:35:17 -0300 |
| commit | cfba57207660fd27ddac9ea51cdeb263c2d6b418 (patch) | |
| tree | 3112ff095cd058017823a64dd592649ff750de89 /lobject.h | |
| parent | aa01d2568dcecf5a12ce2d8f04e969658ea46c89 (diff) | |
| download | lua-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.h | 10 |
1 files changed, 5 insertions, 5 deletions
| @@ -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 | ||
