summaryrefslogtreecommitdiff
path: root/ldo.h
diff options
context:
space:
mode:
Diffstat (limited to 'ldo.h')
-rw-r--r--ldo.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldo.h b/ldo.h
index 5aa65480..f7e0ce09 100644
--- a/ldo.h
+++ b/ldo.h
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldo.h,v 2.6 2005/08/22 19:58:29 roberto Exp roberto $ 2** $Id: ldo.h,v 2.7 2005/08/24 16:15:49 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*/
@@ -19,7 +19,7 @@
19 else condhardstacktests(luaD_reallocstack(L, L->stacksize - EXTRA_STACK - 1)); 19 else condhardstacktests(luaD_reallocstack(L, L->stacksize - EXTRA_STACK - 1));
20 20
21 21
22#define incr_top(L) {luaD_checkstack(L,1); L->top++;} 22#define incr_top(L) {L->top++; luaD_checkstack(L,0);}
23 23
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)))