diff options
Diffstat (limited to 'ldo.h')
-rw-r--r-- | ldo.h | 12 |
1 files changed, 1 insertions, 11 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ldo.h,v 2.5 2005/08/22 18:54:49 roberto Exp roberto $ | 2 | ** $Id: ldo.h,v 2.6 2005/08/22 19:58:29 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 | */ |
@@ -13,16 +13,6 @@ | |||
13 | #include "lzio.h" | 13 | #include "lzio.h" |
14 | 14 | ||
15 | 15 | ||
16 | /* | ||
17 | ** macro to control inclusion of some hard tests on stack reallocation | ||
18 | */ | ||
19 | #ifndef HARDSTACKTESTS | ||
20 | #define condhardstacktests(x) ((void)0) | ||
21 | #else | ||
22 | #define condhardstacktests(x) x | ||
23 | #endif | ||
24 | |||
25 | |||
26 | #define luaD_checkstack(L,n) \ | 16 | #define luaD_checkstack(L,n) \ |
27 | if ((char *)L->stack_last - (char *)L->top <= (n)*(int)sizeof(TValue)) \ | 17 | if ((char *)L->stack_last - (char *)L->top <= (n)*(int)sizeof(TValue)) \ |
28 | luaD_growstack(L, n); \ | 18 | luaD_growstack(L, n); \ |