aboutsummaryrefslogtreecommitdiff
path: root/ltm.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2018-02-27 14:48:28 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2018-02-27 14:48:28 -0300
commitb7edf5d2d89ed2ce1e9087de496bcb451e39d131 (patch)
tree88d94c159ee2034fffd9195a60e306c9565bf361 /ltm.h
parentef8263f81fdde2310ebb15c9a3fe5e954d57cab5 (diff)
downloadlua-b7edf5d2d89ed2ce1e9087de496bcb451e39d131.tar.gz
lua-b7edf5d2d89ed2ce1e9087de496bcb451e39d131.tar.bz2
lua-b7edf5d2d89ed2ce1e9087de496bcb451e39d131.zip
metamethods for 'removekey'/'keyin'
Diffstat (limited to 'ltm.h')
-rw-r--r--ltm.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/ltm.h b/ltm.h
index 9b25ef08..6e961d27 100644
--- a/ltm.h
+++ b/ltm.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ltm.h,v 2.32 2018/02/17 19:20:00 roberto Exp roberto $ 2** $Id: ltm.h,v 2.33 2018/02/23 13:13:31 roberto Exp roberto $
3** Tag methods 3** Tag methods
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -19,6 +19,8 @@
19typedef enum { 19typedef enum {
20 TM_INDEX, 20 TM_INDEX,
21 TM_NEWINDEX, 21 TM_NEWINDEX,
22 TM_UNDEF,
23 TM_ISDEF,
22 TM_GC, 24 TM_GC,
23 TM_MODE, 25 TM_MODE,
24 TM_LEN, 26 TM_LEN,
@@ -89,5 +91,7 @@ LUAI_FUNC void luaT_adjustvarargs (lua_State *L, int nfixparams,
89LUAI_FUNC void luaT_getvarargs (lua_State *L, struct CallInfo *ci, 91LUAI_FUNC void luaT_getvarargs (lua_State *L, struct CallInfo *ci,
90 StkId where, int wanted); 92 StkId where, int wanted);
91 93
94LUAI_FUNC int luaT_keydef (lua_State *L, TValue *obj, TValue *key, int remove);
95
92 96
93#endif 97#endif