aboutsummaryrefslogtreecommitdiff
path: root/ltable.h
diff options
context:
space:
mode:
Diffstat (limited to 'ltable.h')
-rw-r--r--ltable.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/ltable.h b/ltable.h
index 2e7f86fd..c6a87807 100644
--- a/ltable.h
+++ b/ltable.h
@@ -20,7 +20,7 @@
20** may have any of these metamethods. (First access that fails after the 20** may have any of these metamethods. (First access that fails after the
21** clearing will set the bit again.) 21** clearing will set the bit again.)
22*/ 22*/
23#define invalidateTMcache(t) ((t)->flags &= ~maskflags) 23#define invalidateTMcache(t) ((t)->flags &= cast_byte(~maskflags))
24 24
25 25
26/* 26/*
@@ -137,10 +137,10 @@
137 (*tag = (val)->tt_, *getArrVal(h,(k)) = (val)->value_) 137 (*tag = (val)->tt_, *getArrVal(h,(k)) = (val)->value_)
138 138
139 139
140LUAI_FUNC int luaH_get (Table *t, const TValue *key, TValue *res); 140LUAI_FUNC lu_byte luaH_get (Table *t, const TValue *key, TValue *res);
141LUAI_FUNC int luaH_getshortstr (Table *t, TString *key, TValue *res); 141LUAI_FUNC lu_byte luaH_getshortstr (Table *t, TString *key, TValue *res);
142LUAI_FUNC int luaH_getstr (Table *t, TString *key, TValue *res); 142LUAI_FUNC lu_byte luaH_getstr (Table *t, TString *key, TValue *res);
143LUAI_FUNC int luaH_getint (Table *t, lua_Integer key, TValue *res); 143LUAI_FUNC lu_byte luaH_getint (Table *t, lua_Integer key, TValue *res);
144 144
145/* Special get for metamethods */ 145/* Special get for metamethods */
146LUAI_FUNC const TValue *luaH_Hgetshortstr (Table *t, TString *key); 146LUAI_FUNC const TValue *luaH_Hgetshortstr (Table *t, TString *key);