diff options
author | Li Jin <dragon-fly@qq.com> | 2021-01-05 16:48:53 +0800 |
---|---|---|
committer | Li Jin <dragon-fly@qq.com> | 2021-01-05 16:48:53 +0800 |
commit | 71b9532659abb531bd1597d88451426dcc895824 (patch) | |
tree | c9b50856b37f759c9a31e1a6e761e77b51996fa6 /src/lua/ltable.h | |
parent | e3a31f9945053d8e8d9e4ef3d2e4c9abe563cff2 (diff) | |
download | yuescript-71b9532659abb531bd1597d88451426dcc895824.tar.gz yuescript-71b9532659abb531bd1597d88451426dcc895824.tar.bz2 yuescript-71b9532659abb531bd1597d88451426dcc895824.zip |
update Lua.
Diffstat (limited to 'src/lua/ltable.h')
-rw-r--r-- | src/lua/ltable.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/lua/ltable.h b/src/lua/ltable.h index c0060f4..7bbbcb2 100644 --- a/src/lua/ltable.h +++ b/src/lua/ltable.h | |||
@@ -41,8 +41,12 @@ LUAI_FUNC void luaH_setint (lua_State *L, Table *t, lua_Integer key, | |||
41 | LUAI_FUNC const TValue *luaH_getshortstr (Table *t, TString *key); | 41 | LUAI_FUNC const TValue *luaH_getshortstr (Table *t, TString *key); |
42 | LUAI_FUNC const TValue *luaH_getstr (Table *t, TString *key); | 42 | LUAI_FUNC const TValue *luaH_getstr (Table *t, TString *key); |
43 | LUAI_FUNC const TValue *luaH_get (Table *t, const TValue *key); | 43 | LUAI_FUNC const TValue *luaH_get (Table *t, const TValue *key); |
44 | LUAI_FUNC TValue *luaH_newkey (lua_State *L, Table *t, const TValue *key); | 44 | LUAI_FUNC void luaH_newkey (lua_State *L, Table *t, const TValue *key, |
45 | LUAI_FUNC TValue *luaH_set (lua_State *L, Table *t, const TValue *key); | 45 | TValue *value); |
46 | LUAI_FUNC void luaH_set (lua_State *L, Table *t, const TValue *key, | ||
47 | TValue *value); | ||
48 | LUAI_FUNC void luaH_finishset (lua_State *L, Table *t, const TValue *key, | ||
49 | const TValue *slot, TValue *value); | ||
46 | LUAI_FUNC Table *luaH_new (lua_State *L); | 50 | LUAI_FUNC Table *luaH_new (lua_State *L); |
47 | LUAI_FUNC void luaH_resize (lua_State *L, Table *t, unsigned int nasize, | 51 | LUAI_FUNC void luaH_resize (lua_State *L, Table *t, unsigned int nasize, |
48 | unsigned int nhsize); | 52 | unsigned int nhsize); |