diff options
Diffstat (limited to 'ltable.h')
| -rw-r--r-- | ltable.h | 10 |
1 files changed, 5 insertions, 5 deletions
| @@ -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 | ||
| 140 | LUAI_FUNC int luaH_get (Table *t, const TValue *key, TValue *res); | 140 | LUAI_FUNC lu_byte luaH_get (Table *t, const TValue *key, TValue *res); |
| 141 | LUAI_FUNC int luaH_getshortstr (Table *t, TString *key, TValue *res); | 141 | LUAI_FUNC lu_byte luaH_getshortstr (Table *t, TString *key, TValue *res); |
| 142 | LUAI_FUNC int luaH_getstr (Table *t, TString *key, TValue *res); | 142 | LUAI_FUNC lu_byte luaH_getstr (Table *t, TString *key, TValue *res); |
| 143 | LUAI_FUNC int luaH_getint (Table *t, lua_Integer key, TValue *res); | 143 | LUAI_FUNC lu_byte luaH_getint (Table *t, lua_Integer key, TValue *res); |
| 144 | 144 | ||
| 145 | /* Special get for metamethods */ | 145 | /* Special get for metamethods */ |
| 146 | LUAI_FUNC const TValue *luaH_Hgetshortstr (Table *t, TString *key); | 146 | LUAI_FUNC const TValue *luaH_Hgetshortstr (Table *t, TString *key); |
