aboutsummaryrefslogtreecommitdiff
path: root/lauxlib.h
diff options
context:
space:
mode:
Diffstat (limited to 'lauxlib.h')
-rw-r--r--lauxlib.h6
1 files 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 @@
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))