From d766e2ae175495da85714d00e61d76174c5acc5b Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Sun, 25 Feb 2018 09:48:16 -0300 Subject: first (parcial) implementation of 'keyin'/'removekey' (still no metamethods, no raw verssions) --- lua.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'lua.h') diff --git a/lua.h b/lua.h index 8fb2ccbe..3c481a70 100644 --- a/lua.h +++ b/lua.h @@ -1,5 +1,5 @@ /* -** $Id: lua.h,v 1.340 2018/02/17 19:29:29 roberto Exp roberto $ +** $Id: lua.h,v 1.341 2018/02/20 16:52:50 roberto Exp roberto $ ** Lua - A Scripting Language ** Lua.org, PUC-Rio, Brazil (http://www.lua.org) ** See Copyright Notice at the end of this file @@ -331,6 +331,8 @@ LUA_API size_t (lua_stringtonumber) (lua_State *L, const char *s); LUA_API lua_Alloc (lua_getallocf) (lua_State *L, void **ud); LUA_API void (lua_setallocf) (lua_State *L, lua_Alloc f, void *ud); +LUA_API void (lua_removekey) (lua_State *L, int idx); +LUA_API int (lua_keyin) (lua_State *L, int idx); /* -- cgit v1.2.3-55-g6feb