Download unify/third_party/lua/src/lfunc.h from Snapkitty/repoverse: direct link, hf CLI and curl.
- Browser
- Download file 1.71 kB
-
https://huggingface.co/Snapkitty/repoverse/resolve/main/unify/third_party/lua/src/lfunc.h
- Command line
-
hf download hf://Snapkitty/repoverse/unify/third_party/lua/src/lfunc.h
-
curl -L -o lfunc.h https://huggingface.co/Snapkitty/repoverse/resolve/main/unify/third_party/lua/src/lfunc.h
1.71 kB
| /* | |
| ** $Id: lfunc.h $ | |
| ** Auxiliary functions to manipulate prototypes and closures | |
| ** See Copyright Notice in lua.h | |
| */ | |
| /* test whether thread is in 'twups' list */ | |
| /* | |
| ** maximum number of upvalues in a closure (both C and Lua). (Value | |
| ** must fit in a VM register.) | |
| */ | |
| /* | |
| ** maximum number of misses before giving up the cache of closures | |
| ** in prototypes | |
| */ | |
| /* special status to close upvalues preserving the top of the stack */ | |
| LUAI_FUNC Proto *luaF_newproto (lua_State *L); | |
| LUAI_FUNC CClosure *luaF_newCclosure (lua_State *L, int nupvals); | |
| LUAI_FUNC LClosure *luaF_newLclosure (lua_State *L, int nupvals); | |
| LUAI_FUNC void luaF_initupvals (lua_State *L, LClosure *cl); | |
| LUAI_FUNC UpVal *luaF_findupval (lua_State *L, StkId level); | |
| LUAI_FUNC void luaF_newtbcupval (lua_State *L, StkId level); | |
| LUAI_FUNC void luaF_closeupval (lua_State *L, StkId level); | |
| LUAI_FUNC StkId luaF_close (lua_State *L, StkId level, int status, int yy); | |
| LUAI_FUNC void luaF_unlinkupval (UpVal *uv); | |
| LUAI_FUNC void luaF_freeproto (lua_State *L, Proto *f); | |
| LUAI_FUNC const char *luaF_getlocalname (const Proto *func, int local_number, | |
| int pc); | |