diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2018-02-27 14:48:28 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2018-02-27 14:48:28 -0300 |
| commit | b7edf5d2d89ed2ce1e9087de496bcb451e39d131 (patch) | |
| tree | 88d94c159ee2034fffd9195a60e306c9565bf361 /ltm.h | |
| parent | ef8263f81fdde2310ebb15c9a3fe5e954d57cab5 (diff) | |
| download | lua-b7edf5d2d89ed2ce1e9087de496bcb451e39d131.tar.gz lua-b7edf5d2d89ed2ce1e9087de496bcb451e39d131.tar.bz2 lua-b7edf5d2d89ed2ce1e9087de496bcb451e39d131.zip | |
metamethods for 'removekey'/'keyin'
Diffstat (limited to 'ltm.h')
| -rw-r--r-- | ltm.h | 6 |
1 files changed, 5 insertions, 1 deletions
| @@ -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 @@ | |||
| 19 | typedef enum { | 19 | typedef 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, | |||
| 89 | LUAI_FUNC void luaT_getvarargs (lua_State *L, struct CallInfo *ci, | 91 | LUAI_FUNC void luaT_getvarargs (lua_State *L, struct CallInfo *ci, |
| 90 | StkId where, int wanted); | 92 | StkId where, int wanted); |
| 91 | 93 | ||
| 94 | LUAI_FUNC int luaT_keydef (lua_State *L, TValue *obj, TValue *key, int remove); | ||
| 95 | |||
| 92 | 96 | ||
| 93 | #endif | 97 | #endif |
