From 4664f2e9270a956f6175481abe590ba4931b7477 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 6 Aug 2002 15:54:18 -0300 Subject: any Lua closure has a table of globals (not only active functions) --- lua.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lua.h') diff --git a/lua.h b/lua.h index 955b052a..2eef5439 100644 --- a/lua.h +++ b/lua.h @@ -1,5 +1,5 @@ /* -** $Id: lua.h,v 1.151 2002/08/06 17:26:45 roberto Exp roberto $ +** $Id: lua.h,v 1.152 2002/08/06 18:01:50 roberto Exp roberto $ ** Lua - An Extensible Extension Language ** Tecgraf: Computer Graphics Technology Group, PUC-Rio, Brazil ** http://www.lua.org mailto:info@lua.org @@ -167,7 +167,7 @@ LUA_API void lua_rawgeti (lua_State *L, int index, int n); LUA_API void lua_newtable (lua_State *L); LUA_API int lua_getmetatable (lua_State *L, int objindex); LUA_API const char *lua_getmode (lua_State *L, int index); -LUA_API void lua_getglobals (lua_State *L, int level); +LUA_API void lua_getglobals (lua_State *L, int index); /* @@ -178,7 +178,7 @@ LUA_API void lua_rawset (lua_State *L, int index); LUA_API void lua_rawseti (lua_State *L, int index, int n); LUA_API void lua_setmode (lua_State *L, int index, const char *mode); LUA_API int lua_setmetatable (lua_State *L, int objindex); -LUA_API int lua_setglobals (lua_State *L, int level); +LUA_API int lua_setglobals (lua_State *L, int index); /* -- cgit v1.2.3-55-g6feb