Lines Matching refs:L
16 #define luaD_checkstack(L,n) \ argument
17 if ((char *)L->stack_last - (char *)L->top <= (n)*(int)sizeof(TValue)) \
18 luaD_growstack(L, n); \
19 else condhardstacktests(luaD_reallocstack(L, L->stacksize - EXTRA_STACK - 1));
22 #define incr_top(L) {luaD_checkstack(L,1); L->top++;} argument
24 #define savestack(L,p) ((char *)(p) - (char *)L->stack) argument
25 #define restorestack(L,n) ((TValue *)((char *)L->stack + (n))) argument
27 #define saveci(L,p) ((char *)(p) - (char *)L->base_ci) argument
28 #define restoreci(L,n) ((CallInfo *)((char *)L->base_ci + (n))) argument
38 typedef void (*Pfunc) (lua_State *L, void *ud);
40 LUAI_FUNC int luaD_protectedparser (lua_State *L, ZIO *z, const char *name);
41 LUAI_FUNC void luaD_callhook (lua_State *L, int event, int line);
42 LUAI_FUNC int luaD_precall (lua_State *L, StkId func, int nresults);
43 LUAI_FUNC void luaD_call (lua_State *L, StkId func, int nResults);
44 LUAI_FUNC int luaD_pcall (lua_State *L, Pfunc func, void *u,
46 LUAI_FUNC int luaD_poscall (lua_State *L, StkId firstResult);
47 LUAI_FUNC void luaD_reallocCI (lua_State *L, int newsize);
48 LUAI_FUNC void luaD_reallocstack (lua_State *L, int newsize);
49 LUAI_FUNC void luaD_growstack (lua_State *L, int n);
51 LUAI_FUNC void luaD_throw (lua_State *L, int errcode);
52 LUAI_FUNC int luaD_rawrunprotected (lua_State *L, Pfunc f, void *ud);
54 LUAI_FUNC void luaD_seterrorobj (lua_State *L, int errcode, StkId oldtop);