Skip to content
Snippets Groups Projects
Commit aa66ca76 authored by Roberto Ierusalimschy's avatar Roberto Ierusalimschy
Browse files

'lua_pushglobaltable' returns 'void'

parent 707b0ba6
No related branches found
No related tags found
No related merge requests found
/*
** $Id: lua.h,v 1.329 2015/11/13 17:18:42 roberto Exp roberto $
** $Id: lua.h,v 1.330 2016/01/13 17:55:19 roberto Exp roberto $
** Lua - A Scripting Language
** Lua.org, PUC-Rio, Brazil (http://www.lua.org)
** See Copyright Notice at the end of this file
Loading
Loading
@@ -361,7 +361,7 @@ LUA_API void (lua_setallocf) (lua_State *L, lua_Alloc f, void *ud);
#define lua_pushliteral(L, s) lua_pushstring(L, "" s)
 
#define lua_pushglobaltable(L) \
lua_rawgeti(L, LUA_REGISTRYINDEX, LUA_RIDX_GLOBALS)
((void)lua_rawgeti(L, LUA_REGISTRYINDEX, LUA_RIDX_GLOBALS))
 
#define lua_tostring(L,i) lua_tolstring(L, (i), NULL)
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment