diff options
Diffstat (limited to 'src/lua/lfunc.h')
| -rw-r--r-- | src/lua/lfunc.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lua/lfunc.h b/src/lua/lfunc.h index 8d6f965..2e6df53 100644 --- a/src/lua/lfunc.h +++ b/src/lua/lfunc.h | |||
| @@ -49,8 +49,8 @@ | |||
| 49 | /* close upvalues without running their closing methods */ | 49 | /* close upvalues without running their closing methods */ |
| 50 | #define NOCLOSINGMETH (-1) | 50 | #define NOCLOSINGMETH (-1) |
| 51 | 51 | ||
| 52 | /* close upvalues running all closing methods in protected mode */ | 52 | /* special status to close upvalues preserving the top of the stack */ |
| 53 | #define CLOSEPROTECT (-2) | 53 | #define CLOSEKTOP (-2) |
| 54 | 54 | ||
| 55 | 55 | ||
| 56 | LUAI_FUNC Proto *luaF_newproto (lua_State *L); | 56 | LUAI_FUNC Proto *luaF_newproto (lua_State *L); |
| @@ -59,7 +59,7 @@ LUAI_FUNC LClosure *luaF_newLclosure (lua_State *L, int nupvals); | |||
| 59 | LUAI_FUNC void luaF_initupvals (lua_State *L, LClosure *cl); | 59 | LUAI_FUNC void luaF_initupvals (lua_State *L, LClosure *cl); |
| 60 | LUAI_FUNC UpVal *luaF_findupval (lua_State *L, StkId level); | 60 | LUAI_FUNC UpVal *luaF_findupval (lua_State *L, StkId level); |
| 61 | LUAI_FUNC void luaF_newtbcupval (lua_State *L, StkId level); | 61 | LUAI_FUNC void luaF_newtbcupval (lua_State *L, StkId level); |
| 62 | LUAI_FUNC int luaF_close (lua_State *L, StkId level, int status); | 62 | LUAI_FUNC void luaF_close (lua_State *L, StkId level, int status, int yy); |
| 63 | LUAI_FUNC void luaF_unlinkupval (UpVal *uv); | 63 | LUAI_FUNC void luaF_unlinkupval (UpVal *uv); |
| 64 | LUAI_FUNC void luaF_freeproto (lua_State *L, Proto *f); | 64 | LUAI_FUNC void luaF_freeproto (lua_State *L, Proto *f); |
| 65 | LUAI_FUNC const char *luaF_getlocalname (const Proto *func, int local_number, | 65 | LUAI_FUNC const char *luaF_getlocalname (const Proto *func, int local_number, |
