diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2004-03-13 10:32:09 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2004-03-13 10:32:09 -0300 |
commit | 9804467eeb9836bc147adffee411b21e6257da6b (patch) | |
tree | 34f0e14faf6649e5a0a8f8c3e8307c14fbc74386 /lauxlib.h | |
parent | a003e891252a2f6b4b7d1d006b20d2b306626caa (diff) | |
download | lua-9804467eeb9836bc147adffee411b21e6257da6b.tar.gz lua-9804467eeb9836bc147adffee411b21e6257da6b.tar.bz2 lua-9804467eeb9836bc147adffee411b21e6257da6b.zip |
detail
Diffstat (limited to 'lauxlib.h')
-rw-r--r-- | lauxlib.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lauxlib.h,v 1.61 2003/10/02 20:31:17 roberto Exp roberto $ | 2 | ** $Id: lauxlib.h,v 1.62 2003/10/07 20:13:41 roberto Exp roberto $ |
3 | ** Auxiliary functions for building Lua libraries | 3 | ** Auxiliary functions for building Lua libraries |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -76,8 +76,8 @@ LUALIB_API lua_State *(luaL_newstate) (void); | |||
76 | ** =============================================================== | 76 | ** =============================================================== |
77 | */ | 77 | */ |
78 | 78 | ||
79 | #define luaL_argcheck(L, cond,numarg,extramsg) if (!(cond)) \ | 79 | #define luaL_argcheck(L, cond,numarg,extramsg) \ |
80 | luaL_argerror(L, numarg,extramsg) | 80 | ((void)((cond) || luaL_argerror(L, numarg,extramsg))) |
81 | #define luaL_checkstring(L,n) (luaL_checklstring(L, (n), NULL)) | 81 | #define luaL_checkstring(L,n) (luaL_checklstring(L, (n), NULL)) |
82 | #define luaL_optstring(L,n,d) (luaL_optlstring(L, (n), (d), NULL)) | 82 | #define luaL_optstring(L,n,d) (luaL_optlstring(L, (n), (d), NULL)) |
83 | #define luaL_checkint(L,n) ((int)luaL_checkinteger(L, n)) | 83 | #define luaL_checkint(L,n) ((int)luaL_checkinteger(L, n)) |