diff options
Diffstat (limited to 'ldo.h')
-rw-r--r-- | ldo.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ldo.h,v 2.22 2015/05/22 17:48:19 roberto Exp roberto $ | 2 | ** $Id: ldo.h,v 2.23 2015/10/21 18:40:47 roberto Exp roberto $ |
3 | ** Stack and Call structure of Lua | 3 | ** Stack and Call structure of Lua |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -28,7 +28,6 @@ | |||
28 | #define luaD_checkstack(L,n) luaD_checkstackaux(L,n,,) | 28 | #define luaD_checkstack(L,n) luaD_checkstackaux(L,n,,) |
29 | 29 | ||
30 | 30 | ||
31 | #define incr_top(L) {L->top++; luaD_checkstack(L,0);} | ||
32 | 31 | ||
33 | #define savestack(L,p) ((char *)(p) - (char *)L->stack) | 32 | #define savestack(L,p) ((char *)(p) - (char *)L->stack) |
34 | #define restorestack(L,n) ((TValue *)((char *)L->stack + (n))) | 33 | #define restorestack(L,n) ((TValue *)((char *)L->stack + (n))) |
@@ -49,6 +48,7 @@ LUAI_FUNC int luaD_poscall (lua_State *L, StkId firstResult, int nres); | |||
49 | LUAI_FUNC void luaD_reallocstack (lua_State *L, int newsize); | 48 | LUAI_FUNC void luaD_reallocstack (lua_State *L, int newsize); |
50 | LUAI_FUNC void luaD_growstack (lua_State *L, int n); | 49 | LUAI_FUNC void luaD_growstack (lua_State *L, int n); |
51 | LUAI_FUNC void luaD_shrinkstack (lua_State *L); | 50 | LUAI_FUNC void luaD_shrinkstack (lua_State *L); |
51 | LUAI_FUNC void luaD_inctop (lua_State *L); | ||
52 | 52 | ||
53 | LUAI_FUNC l_noret luaD_throw (lua_State *L, int errcode); | 53 | LUAI_FUNC l_noret luaD_throw (lua_State *L, int errcode); |
54 | LUAI_FUNC int luaD_rawrunprotected (lua_State *L, Pfunc f, void *ud); | 54 | LUAI_FUNC int luaD_rawrunprotected (lua_State *L, Pfunc f, void *ud); |