Download unify/third_party/lua/src/lapi.h from Snapkitty/repoverse: direct link, hf CLI and curl.
- Browser
- Download file 1.43 kB
-
https://huggingface.co/Snapkitty/repoverse/resolve/main/unify/third_party/lua/src/lapi.h
- Command line
-
hf download hf://Snapkitty/repoverse/unify/third_party/lua/src/lapi.h
-
curl -L -o lapi.h https://huggingface.co/Snapkitty/repoverse/resolve/main/unify/third_party/lua/src/lapi.h
1.43 kB
| /* | |
| ** $Id: lapi.h $ | |
| ** Auxiliary functions from Lua API | |
| ** See Copyright Notice in lua.h | |
| */ | |
| /* Increments 'L->top.p', checking for stack overflows */ | |
| /* | |
| ** If a call returns too many multiple returns, the callee may not have | |
| ** stack space to accommodate all results. In this case, this macro | |
| ** increases its stack space ('L->ci->top.p'). | |
| */ | |
| /* Ensure the stack has at least 'n' elements */ | |
| /* | |
| ** To reduce the overhead of returning from C functions, the presence of | |
| ** to-be-closed variables in these functions is coded in the CallInfo's | |
| ** field 'nresults', in a way that functions with no to-be-closed variables | |
| ** with zero, one, or "all" wanted results have no overhead. Functions | |
| ** with other number of wanted results, as well as functions with | |
| ** variables to be closed, have an extra check. | |
| */ | |
| /* Map [-1, inf) (range of 'nresults') into (-inf, -2] */ | |