|
native Lua
0.4.0
Lua on the platform you use with the compiler you choose
|
Go to the documentation of this file.
23 #define luaD_checkstackaux(L,n,pre,pos) \
24 if (L->stack_last - L->top <= (n)) \
25 { pre; luaD_growstack(L, n); pos; } else { condmovestack(L,pre,pos); }
28 #define luaD_checkstack(L,n) luaD_checkstackaux(L,n,(void)0,(void)0)
32 #define savestack(L,p) ((char *)(p) - (char *)L->stack)
33 #define restorestack(L,n) ((TValue *)((char *)L->stack + (n)))
46 ptrdiff_t oldtop, ptrdiff_t ef);
#define LUAI_FUNC
Definition: luaconf.h:282
#define l_noret
Definition: llimits.h:143
Definition: lobject.h:113
LUAI_FUNC void luaD_callnoyield(lua_State *L, StkId func, int nResults)
Definition: ldo.c:507
void(* Pfunc)(lua_State *L, void *ud)
Definition: ldo.h:37
LUAI_FUNC int luaD_poscall(lua_State *L, CallInfo *ci, StkId firstResult, int nres)
Definition: ldo.c:376
LUAI_FUNC void luaD_shrinkstack(lua_State *L)
Definition: ldo.c:221
LUAI_FUNC void luaD_reallocstack(lua_State *L, int newsize)
Definition: ldo.c:177
LUAI_FUNC int luaD_pcall(lua_State *L, Pfunc func, void *u, ptrdiff_t oldtop, ptrdiff_t ef)
Definition: ldo.c:721
LUAI_FUNC int luaD_rawrunprotected(lua_State *L, Pfunc f, void *ud)
Definition: ldo.c:136
LUAI_FUNC void luaD_inctop(lua_State *L)
Definition: ldo.c:240
LUAI_FUNC void luaD_call(lua_State *L, StkId func, int nResults)
Definition: ldo.c:495
LUAI_FUNC l_noret luaD_throw(lua_State *L, int errcode)
Definition: ldo.c:110
LUAI_FUNC int luaD_precall(lua_State *L, StkId func, int nresults)
Definition: ldo.c:413
LUAI_FUNC void luaD_hook(lua_State *L, int event, int line)
Definition: ldo.c:253
LUAI_FUNC void luaD_growstack(lua_State *L, int n)
Definition: ldo.c:191
LUAI_FUNC int luaD_protectedparser(lua_State *L, ZIO *z, const char *name, const char *mode)
Definition: ldo.c:783