aboutsummaryrefslogtreecommitdiff
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 41f437cb..31986dc0 100644
--- a/ldo.h
+++ b/ldo.h
@@ -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);
49LUAI_FUNC void luaD_reallocstack (lua_State *L, int newsize); 48LUAI_FUNC void luaD_reallocstack (lua_State *L, int newsize);
50LUAI_FUNC void luaD_growstack (lua_State *L, int n); 49LUAI_FUNC void luaD_growstack (lua_State *L, int n);
51LUAI_FUNC void luaD_shrinkstack (lua_State *L); 50LUAI_FUNC void luaD_shrinkstack (lua_State *L);
51LUAI_FUNC void luaD_inctop (lua_State *L);
52 52
53LUAI_FUNC l_noret luaD_throw (lua_State *L, int errcode); 53LUAI_FUNC l_noret luaD_throw (lua_State *L, int errcode);
54LUAI_FUNC int luaD_rawrunprotected (lua_State *L, Pfunc f, void *ud); 54LUAI_FUNC int luaD_rawrunprotected (lua_State *L, Pfunc f, void *ud);