aboutsummaryrefslogtreecommitdiff
path: root/ldo.h
diff options
context:
space:
mode:
Diffstat (limited to 'ldo.h')
-rw-r--r--ldo.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/ldo.h b/ldo.h
index 57695b0a..3e0d50a8 100644
--- a/ldo.h
+++ b/ldo.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldo.h,v 2.11 2009/03/10 17:14:37 roberto Exp roberto $ 2** $Id: ldo.h,v 2.12 2009/04/17 14:28:06 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*/
@@ -15,8 +15,7 @@
15 15
16#define luaD_checkstack(L,n) \ 16#define luaD_checkstack(L,n) \
17 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)) \
18 luaD_growstack(L, n); \ 18 luaD_growstack(L, n); else condmovestack(L);
19 else condhardstacktests(luaD_reallocstack(L, L->stacksize - EXTRA_STACK - 1));
20 19
21 20
22#define incr_top(L) {L->top++; luaD_checkstack(L,0);} 21#define incr_top(L) {L->top++; luaD_checkstack(L,0);}