aboutsummaryrefslogtreecommitdiff
path: root/lua.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-08-06 15:54:18 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2002-08-06 15:54:18 -0300
commit4664f2e9270a956f6175481abe590ba4931b7477 (patch)
treeb697cf966fada0f46d7779ad620036d9d27e4127 /lua.h
parent2e38c6ae5a53cbf1a607a790460fca45ba3b9ca8 (diff)
downloadlua-4664f2e9270a956f6175481abe590ba4931b7477.tar.gz
lua-4664f2e9270a956f6175481abe590ba4931b7477.tar.bz2
lua-4664f2e9270a956f6175481abe590ba4931b7477.zip
any Lua closure has a table of globals (not only active functions)
Diffstat (limited to 'lua.h')
-rw-r--r--lua.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lua.h b/lua.h
index 955b052a..2eef5439 100644
--- a/lua.h
+++ b/lua.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lua.h,v 1.151 2002/08/06 17:26:45 roberto Exp roberto $ 2** $Id: lua.h,v 1.152 2002/08/06 18:01:50 roberto Exp roberto $
3** Lua - An Extensible Extension Language 3** Lua - An Extensible Extension Language
4** Tecgraf: Computer Graphics Technology Group, PUC-Rio, Brazil 4** Tecgraf: Computer Graphics Technology Group, PUC-Rio, Brazil
5** http://www.lua.org mailto:info@lua.org 5** http://www.lua.org mailto:info@lua.org
@@ -167,7 +167,7 @@ LUA_API void lua_rawgeti (lua_State *L, int index, int n);
167LUA_API void lua_newtable (lua_State *L); 167LUA_API void lua_newtable (lua_State *L);
168LUA_API int lua_getmetatable (lua_State *L, int objindex); 168LUA_API int lua_getmetatable (lua_State *L, int objindex);
169LUA_API const char *lua_getmode (lua_State *L, int index); 169LUA_API const char *lua_getmode (lua_State *L, int index);
170LUA_API void lua_getglobals (lua_State *L, int level); 170LUA_API void lua_getglobals (lua_State *L, int index);
171 171
172 172
173/* 173/*
@@ -178,7 +178,7 @@ LUA_API void lua_rawset (lua_State *L, int index);
178LUA_API void lua_rawseti (lua_State *L, int index, int n); 178LUA_API void lua_rawseti (lua_State *L, int index, int n);
179LUA_API void lua_setmode (lua_State *L, int index, const char *mode); 179LUA_API void lua_setmode (lua_State *L, int index, const char *mode);
180LUA_API int lua_setmetatable (lua_State *L, int objindex); 180LUA_API int lua_setmetatable (lua_State *L, int objindex);
181LUA_API int lua_setglobals (lua_State *L, int level); 181LUA_API int lua_setglobals (lua_State *L, int index);
182 182
183 183
184/* 184/*