diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2018-02-25 09:48:16 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2018-02-25 09:48:16 -0300 |
commit | d766e2ae175495da85714d00e61d76174c5acc5b (patch) | |
tree | afc32a0787e57b2d6807b6e23bdd0a3cedf30945 /lua.h | |
parent | f055a9dffd9ba403a99266a662b9992bc89dcaa1 (diff) | |
download | lua-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.h | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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); | |||
331 | LUA_API lua_Alloc (lua_getallocf) (lua_State *L, void **ud); | 331 | LUA_API lua_Alloc (lua_getallocf) (lua_State *L, void **ud); |
332 | LUA_API void (lua_setallocf) (lua_State *L, lua_Alloc f, void *ud); | 332 | LUA_API void (lua_setallocf) (lua_State *L, lua_Alloc f, void *ud); |
333 | 333 | ||
334 | LUA_API void (lua_removekey) (lua_State *L, int idx); | ||
335 | LUA_API int (lua_keyin) (lua_State *L, int idx); | ||
334 | 336 | ||
335 | 337 | ||
336 | /* | 338 | /* |