diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2016-05-30 12:53:28 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2016-05-30 12:53:28 -0300 |
commit | aa66ca76ce10db054e34de8a19a48d0beb5eb7a6 (patch) | |
tree | 0e92a2b77d8c480895f9fd6546578f4b5ffb4a32 | |
parent | 707b0ba6e2dbfd58cf1167dae0e17975904b18aa (diff) | |
download | lua-5.3.3.tar.gz lua-5.3.3.tar.bz2 lua-5.3.3.zip |
'lua_pushglobaltable' returns 'void'v5.3.3
-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 | ||