Download unify/third_party/lua/src/ltable.h from Snapkitty/repoverse: direct link, hf CLI and curl.
- Browser
- Download file 2.05 kB
-
https://huggingface.co/Snapkitty/repoverse/resolve/main/unify/third_party/lua/src/ltable.h
- Command line
-
hf download hf://Snapkitty/repoverse/unify/third_party/lua/src/ltable.h
-
curl -L -o ltable.h https://huggingface.co/Snapkitty/repoverse/resolve/main/unify/third_party/lua/src/ltable.h
2.05 kB
| /* | |
| ** $Id: ltable.h $ | |
| ** Lua tables (hash) | |
| ** See Copyright Notice in lua.h | |
| */ | |
| /* | |
| ** Clear all bits of fast-access metamethods, which means that the table | |
| ** may have any of these metamethods. (First access that fails after the | |
| ** clearing will set the bit again.) | |
| */ | |
| /* true when 't' is using 'dummynode' as its hash part */ | |
| /* allocated size for hash nodes */ | |
| /* returns the Node, given the value of a table entry */ | |
| LUAI_FUNC const TValue *luaH_getint (Table *t, lua_Integer key); | |
| LUAI_FUNC void luaH_setint (lua_State *L, Table *t, lua_Integer key, | |
| TValue *value); | |
| LUAI_FUNC const TValue *luaH_getshortstr (Table *t, TString *key); | |
| LUAI_FUNC const TValue *luaH_getstr (Table *t, TString *key); | |
| LUAI_FUNC const TValue *luaH_get (Table *t, const TValue *key); | |
| LUAI_FUNC void luaH_set (lua_State *L, Table *t, const TValue *key, | |
| TValue *value); | |
| LUAI_FUNC void luaH_finishset (lua_State *L, Table *t, const TValue *key, | |
| const TValue *slot, TValue *value); | |
| LUAI_FUNC Table *luaH_new (lua_State *L); | |
| LUAI_FUNC void luaH_resize (lua_State *L, Table *t, unsigned int nasize, | |
| unsigned int nhsize); | |
| LUAI_FUNC void luaH_resizearray (lua_State *L, Table *t, unsigned int nasize); | |
| LUAI_FUNC void luaH_free (lua_State *L, Table *t); | |
| LUAI_FUNC int luaH_next (lua_State *L, Table *t, StkId key); | |
| LUAI_FUNC lua_Unsigned luaH_getn (Table *t); | |
| LUAI_FUNC unsigned int luaH_realasize (const Table *t); | |
| LUAI_FUNC Node *luaH_mainposition (const Table *t, const TValue *key); | |