diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-08-06 14:06:56 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-08-06 14:06:56 -0300 |
commit | 634344d61fb4bd7ebd033d37b814a0083e55b5a2 (patch) | |
tree | 01794c51e00c7ec1faec1e08fe2963ee75b1a139 /lua.h | |
parent | a2fa48a570b01b2a2cd37f01799f08f693fc5892 (diff) | |
download | lua-634344d61fb4bd7ebd033d37b814a0083e55b5a2.tar.gz lua-634344d61fb4bd7ebd033d37b814a0083e55b5a2.tar.bz2 lua-634344d61fb4bd7ebd033d37b814a0083e55b5a2.zip |
new API for weak mode
Diffstat (limited to 'lua.h')
-rw-r--r-- | lua.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lua.h,v 1.148 2002/08/05 14:51:47 roberto Exp roberto $ | 2 | ** $Id: lua.h,v 1.149 2002/08/06 15:32:22 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 |
@@ -166,6 +166,7 @@ LUA_API void lua_rawget (lua_State *L, int index); | |||
166 | LUA_API void lua_rawgeti (lua_State *L, int index, int n); | 166 | 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 void lua_getglobals (lua_State *L, int level); | 170 | LUA_API void lua_getglobals (lua_State *L, int level); |
170 | 171 | ||
171 | 172 | ||
@@ -175,6 +176,7 @@ LUA_API void lua_getglobals (lua_State *L, int level); | |||
175 | LUA_API void lua_settable (lua_State *L, int index); | 176 | LUA_API void lua_settable (lua_State *L, int index); |
176 | LUA_API void lua_rawset (lua_State *L, int index); | 177 | LUA_API void lua_rawset (lua_State *L, int index); |
177 | 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); | ||
178 | LUA_API int lua_setmetatable (lua_State *L, int objindex); | 180 | LUA_API int lua_setmetatable (lua_State *L, int objindex); |
179 | LUA_API int lua_setglobals (lua_State *L, int level); | 181 | LUA_API int lua_setglobals (lua_State *L, int level); |
180 | 182 | ||