diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-11-14 10:01:35 -0200 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2002-11-14 10:01:35 -0200 |
| commit | 5c5d9b27031f0a7fcf61df86cd242105c38485d6 (patch) | |
| tree | 534fb1ea4a4fc82253d5bc8b0af92b91a7ae9714 /lua.h | |
| parent | 43d1a6af12fb9cf20e55cc6ba8a1b0231d6b7a3c (diff) | |
| download | lua-5c5d9b27031f0a7fcf61df86cd242105c38485d6.tar.gz lua-5c5d9b27031f0a7fcf61df86cd242105c38485d6.tar.bz2 lua-5c5d9b27031f0a7fcf61df86cd242105c38485d6.zip | |
back to `__mode' metafield to specify weakness
Diffstat (limited to 'lua.h')
| -rw-r--r-- | lua.h | 4 |
1 files changed, 1 insertions, 3 deletions
| @@ -1,5 +1,5 @@ | |||
| 1 | /* | 1 | /* |
| 2 | ** $Id: lua.h,v 1.162 2002/11/06 19:08:00 roberto Exp roberto $ | 2 | ** $Id: lua.h,v 1.163 2002/11/07 15:39:23 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 |
| @@ -174,7 +174,6 @@ LUA_API void lua_rawget (lua_State *L, int idx); | |||
| 174 | LUA_API void lua_rawgeti (lua_State *L, int idx, int n); | 174 | LUA_API void lua_rawgeti (lua_State *L, int idx, int n); |
| 175 | LUA_API void lua_newtable (lua_State *L); | 175 | LUA_API void lua_newtable (lua_State *L); |
| 176 | LUA_API int lua_getmetatable (lua_State *L, int objindex); | 176 | LUA_API int lua_getmetatable (lua_State *L, int objindex); |
| 177 | LUA_API const char *lua_getmode (lua_State *L, int idx); | ||
| 178 | LUA_API void lua_getglobals (lua_State *L, int idx); | 177 | LUA_API void lua_getglobals (lua_State *L, int idx); |
| 179 | 178 | ||
| 180 | 179 | ||
| @@ -184,7 +183,6 @@ LUA_API void lua_getglobals (lua_State *L, int idx); | |||
| 184 | LUA_API void lua_settable (lua_State *L, int idx); | 183 | LUA_API void lua_settable (lua_State *L, int idx); |
| 185 | LUA_API void lua_rawset (lua_State *L, int idx); | 184 | LUA_API void lua_rawset (lua_State *L, int idx); |
| 186 | LUA_API void lua_rawseti (lua_State *L, int idx, int n); | 185 | LUA_API void lua_rawseti (lua_State *L, int idx, int n); |
| 187 | LUA_API void lua_setmode (lua_State *L, int idx, const char *md); | ||
| 188 | LUA_API int lua_setmetatable (lua_State *L, int objindex); | 186 | LUA_API int lua_setmetatable (lua_State *L, int objindex); |
| 189 | LUA_API int lua_setglobals (lua_State *L, int idx); | 187 | LUA_API int lua_setglobals (lua_State *L, int idx); |
| 190 | 188 | ||
