aboutsummaryrefslogtreecommitdiff
path: root/lua.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2018-02-25 09:48:16 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2018-02-25 09:48:16 -0300
commitd766e2ae175495da85714d00e61d76174c5acc5b (patch)
treeafc32a0787e57b2d6807b6e23bdd0a3cedf30945 /lua.h
parentf055a9dffd9ba403a99266a662b9992bc89dcaa1 (diff)
downloadlua-d766e2ae175495da85714d00e61d76174c5acc5b.tar.gz
lua-d766e2ae175495da85714d00e61d76174c5acc5b.tar.bz2
lua-d766e2ae175495da85714d00e61d76174c5acc5b.zip
first (parcial) implementation of 'keyin'/'removekey'
(still no metamethods, no raw verssions)
Diffstat (limited to 'lua.h')
-rw-r--r--lua.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/lua.h b/lua.h
index 8fb2ccbe..3c481a70 100644
--- a/lua.h
+++ b/lua.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lua.h,v 1.340 2018/02/17 19:29:29 roberto Exp roberto $ 2** $Id: lua.h,v 1.341 2018/02/20 16:52:50 roberto Exp roberto $
3** Lua - A Scripting Language 3** Lua - A Scripting Language
4** Lua.org, PUC-Rio, Brazil (http://www.lua.org) 4** Lua.org, PUC-Rio, Brazil (http://www.lua.org)
5** See Copyright Notice at the end of this file 5** 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);
331LUA_API lua_Alloc (lua_getallocf) (lua_State *L, void **ud); 331LUA_API lua_Alloc (lua_getallocf) (lua_State *L, void **ud);
332LUA_API void (lua_setallocf) (lua_State *L, lua_Alloc f, void *ud); 332LUA_API void (lua_setallocf) (lua_State *L, lua_Alloc f, void *ud);
333 333
334LUA_API void (lua_removekey) (lua_State *L, int idx);
335LUA_API int (lua_keyin) (lua_State *L, int idx);
334 336
335 337
336/* 338/*