diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-08-06 15:54:18 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-08-06 15:54:18 -0300 |
| commit | 4664f2e9270a956f6175481abe590ba4931b7477 (patch) | |
| tree | b697cf966fada0f46d7779ad620036d9d27e4127 /lua.h | |
| parent | 2e38c6ae5a53cbf1a607a790460fca45ba3b9ca8 (diff) | |
| download | lua-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.h | 6 |
1 files changed, 3 insertions, 3 deletions
| @@ -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); | |||
| 167 | LUA_API void lua_newtable (lua_State *L); | 167 | LUA_API void lua_newtable (lua_State *L); |
| 168 | LUA_API int lua_getmetatable (lua_State *L, int objindex); | 168 | LUA_API int lua_getmetatable (lua_State *L, int objindex); |
| 169 | LUA_API const char *lua_getmode (lua_State *L, int index); | 169 | LUA_API const char *lua_getmode (lua_State *L, int index); |
| 170 | LUA_API void lua_getglobals (lua_State *L, int level); | 170 | LUA_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); | |||
| 178 | LUA_API void lua_rawseti (lua_State *L, int index, int n); | 178 | LUA_API void lua_rawseti (lua_State *L, int index, int n); |
| 179 | LUA_API void lua_setmode (lua_State *L, int index, const char *mode); | 179 | LUA_API void lua_setmode (lua_State *L, int index, const char *mode); |
| 180 | LUA_API int lua_setmetatable (lua_State *L, int objindex); | 180 | LUA_API int lua_setmetatable (lua_State *L, int objindex); |
| 181 | LUA_API int lua_setglobals (lua_State *L, int level); | 181 | LUA_API int lua_setglobals (lua_State *L, int index); |
| 182 | 182 | ||
| 183 | 183 | ||
| 184 | /* | 184 | /* |
