diff options
Diffstat (limited to 'ldo.h')
-rw-r--r-- | ldo.h | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ldo.h,v 2.10 2008/08/13 17:02:42 roberto Exp roberto $ | 2 | ** $Id: ldo.h,v 2.11 2009/03/10 17:14:37 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 | */ |
@@ -24,9 +24,6 @@ | |||
24 | #define savestack(L,p) ((char *)(p) - (char *)L->stack) | 24 | #define savestack(L,p) ((char *)(p) - (char *)L->stack) |
25 | #define restorestack(L,n) ((TValue *)((char *)L->stack + (n))) | 25 | #define restorestack(L,n) ((TValue *)((char *)L->stack + (n))) |
26 | 26 | ||
27 | #define saveci(L,p) ((char *)(p) - (char *)L->base_ci) | ||
28 | #define restoreci(L,n) ((CallInfo *)((char *)L->base_ci + (n))) | ||
29 | |||
30 | 27 | ||
31 | /* type of protected functions, to be ran by `runprotected' */ | 28 | /* type of protected functions, to be ran by `runprotected' */ |
32 | typedef void (*Pfunc) (lua_State *L, void *ud); | 29 | typedef void (*Pfunc) (lua_State *L, void *ud); |