aboutsummaryrefslogtreecommitdiff
path: root/src/lua/ltable.h
diff options
context:
space:
mode:
authorLi Jin <dragon-fly@qq.com>2021-01-05 16:48:53 +0800
committerLi Jin <dragon-fly@qq.com>2021-01-05 16:48:53 +0800
commit71b9532659abb531bd1597d88451426dcc895824 (patch)
treec9b50856b37f759c9a31e1a6e761e77b51996fa6 /src/lua/ltable.h
parente3a31f9945053d8e8d9e4ef3d2e4c9abe563cff2 (diff)
downloadyuescript-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.h8
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,
41LUAI_FUNC const TValue *luaH_getshortstr (Table *t, TString *key); 41LUAI_FUNC const TValue *luaH_getshortstr (Table *t, TString *key);
42LUAI_FUNC const TValue *luaH_getstr (Table *t, TString *key); 42LUAI_FUNC const TValue *luaH_getstr (Table *t, TString *key);
43LUAI_FUNC const TValue *luaH_get (Table *t, const TValue *key); 43LUAI_FUNC const TValue *luaH_get (Table *t, const TValue *key);
44LUAI_FUNC TValue *luaH_newkey (lua_State *L, Table *t, const TValue *key); 44LUAI_FUNC void luaH_newkey (lua_State *L, Table *t, const TValue *key,
45LUAI_FUNC TValue *luaH_set (lua_State *L, Table *t, const TValue *key); 45 TValue *value);
46LUAI_FUNC void luaH_set (lua_State *L, Table *t, const TValue *key,
47 TValue *value);
48LUAI_FUNC void luaH_finishset (lua_State *L, Table *t, const TValue *key,
49 const TValue *slot, TValue *value);
46LUAI_FUNC Table *luaH_new (lua_State *L); 50LUAI_FUNC Table *luaH_new (lua_State *L);
47LUAI_FUNC void luaH_resize (lua_State *L, Table *t, unsigned int nasize, 51LUAI_FUNC void luaH_resize (lua_State *L, Table *t, unsigned int nasize,
48 unsigned int nhsize); 52 unsigned int nhsize);