From 634344d61fb4bd7ebd033d37b814a0083e55b5a2 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Tue, 6 Aug 2002 14:06:56 -0300 Subject: new API for weak mode --- lua.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lua.h') diff --git a/lua.h b/lua.h index 2bc32fa6..dc64fb34 100644 --- a/lua.h +++ b/lua.h @@ -1,5 +1,5 @@ /* -** $Id: lua.h,v 1.148 2002/08/05 14:51:47 roberto Exp roberto $ +** $Id: lua.h,v 1.149 2002/08/06 15:32:22 roberto Exp roberto $ ** Lua - An Extensible Extension Language ** Tecgraf: Computer Graphics Technology Group, PUC-Rio, Brazil ** http://www.lua.org mailto:info@lua.org @@ -166,6 +166,7 @@ LUA_API void lua_rawget (lua_State *L, int index); 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); @@ -175,6 +176,7 @@ LUA_API void lua_getglobals (lua_State *L, int level); LUA_API void lua_settable (lua_State *L, int index); 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); -- cgit v1.2.3-55-g6feb