diff options
-rw-r--r-- | lua.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lua.h,v 1.329 2015/11/13 17:18:42 roberto Exp roberto $ | 2 | ** $Id: lua.h,v 1.330 2016/01/13 17:55:19 roberto Exp roberto $ |
3 | ** Lua - A Scripting Language | 3 | ** Lua - A Scripting Language |
4 | ** Lua.org, PUC-Rio, Brazil (http://www.lua.org) | 4 | ** Lua.org, PUC-Rio, Brazil (http://www.lua.org) |
5 | ** See Copyright Notice at the end of this file | 5 | ** See Copyright Notice at the end of this file |
@@ -361,7 +361,7 @@ LUA_API void (lua_setallocf) (lua_State *L, lua_Alloc f, void *ud); | |||
361 | #define lua_pushliteral(L, s) lua_pushstring(L, "" s) | 361 | #define lua_pushliteral(L, s) lua_pushstring(L, "" s) |
362 | 362 | ||
363 | #define lua_pushglobaltable(L) \ | 363 | #define lua_pushglobaltable(L) \ |
364 | lua_rawgeti(L, LUA_REGISTRYINDEX, LUA_RIDX_GLOBALS) | 364 | ((void)lua_rawgeti(L, LUA_REGISTRYINDEX, LUA_RIDX_GLOBALS)) |
365 | 365 | ||
366 | #define lua_tostring(L,i) lua_tolstring(L, (i), NULL) | 366 | #define lua_tostring(L,i) lua_tolstring(L, (i), NULL) |
367 | 367 | ||