From 9804467eeb9836bc147adffee411b21e6257da6b Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Sat, 13 Mar 2004 10:32:09 -0300 Subject: detail --- lauxlib.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lauxlib.h b/lauxlib.h index dbda55ec..24d191b0 100644 --- a/lauxlib.h +++ b/lauxlib.h @@ -1,5 +1,5 @@ /* -** $Id: lauxlib.h,v 1.61 2003/10/02 20:31:17 roberto Exp roberto $ +** $Id: lauxlib.h,v 1.62 2003/10/07 20:13:41 roberto Exp roberto $ ** Auxiliary functions for building Lua libraries ** See Copyright Notice in lua.h */ @@ -76,8 +76,8 @@ LUALIB_API lua_State *(luaL_newstate) (void); ** =============================================================== */ -#define luaL_argcheck(L, cond,numarg,extramsg) if (!(cond)) \ - luaL_argerror(L, numarg,extramsg) +#define luaL_argcheck(L, cond,numarg,extramsg) \ + ((void)((cond) || luaL_argerror(L, numarg,extramsg))) #define luaL_checkstring(L,n) (luaL_checklstring(L, (n), NULL)) #define luaL_optstring(L,n,d) (luaL_optlstring(L, (n), (d), NULL)) #define luaL_checkint(L,n) ((int)luaL_checkinteger(L, n)) -- cgit v1.2.3-55-g6feb