#include "lobject.h"
#include "lstate.h"
#include "lzio.h"
Go to the source code of this file.
|
#define | checkstackGC(L, fsize) luaD_checkstackaux(L, (fsize), luaC_checkGC(L), (void)0) |
|
#define | checkstackGCp(L, n, p) |
|
#define | luaD_checkstack(L, n) luaD_checkstackaux(L,n,(void)0,(void)0) |
|
#define | luaD_checkstackaux(L, n, pre, pos) |
|
#define | restorestack(L, n) ((StkId)((char *)L->stack + (n))) |
|
#define | savestack(L, p) ((char *)(p) - (char *)L->stack) |
|
|
LUAI_FUNC void | luaD_call (lua_State *L, StkId func, int nResults) |
|
LUAI_FUNC void | luaD_callnoyield (lua_State *L, StkId func, int nResults) |
|
LUAI_FUNC int | luaD_closeprotected (lua_State *L, ptrdiff_t level, int status) |
|
LUAI_FUNC int | luaD_growstack (lua_State *L, int n, int raiseerror) |
|
LUAI_FUNC void | luaD_hook (lua_State *L, int event, int line, int fTransfer, int nTransfer) |
|
LUAI_FUNC void | luaD_hookcall (lua_State *L, CallInfo *ci) |
|
LUAI_FUNC void | luaD_inctop (lua_State *L) |
|
LUAI_FUNC int | luaD_pcall (lua_State *L, Pfunc func, void *u, ptrdiff_t oldtop, ptrdiff_t ef) |
|
LUAI_FUNC void | luaD_poscall (lua_State *L, CallInfo *ci, int nres) |
|
LUAI_FUNC CallInfo * | luaD_precall (lua_State *L, StkId func, int nResults) |
|
LUAI_FUNC void | luaD_pretailcall (lua_State *L, CallInfo *ci, StkId func, int n) |
|
LUAI_FUNC int | luaD_protectedparser (lua_State *L, ZIO *z, const char *name, const char *mode) |
|
LUAI_FUNC int | luaD_rawrunprotected (lua_State *L, Pfunc f, void *ud) |
|
LUAI_FUNC int | luaD_reallocstack (lua_State *L, int newsize, int raiseerror) |
|
LUAI_FUNC void | luaD_seterrorobj (lua_State *L, int errcode, StkId oldtop) |
|
LUAI_FUNC void | luaD_shrinkstack (lua_State *L) |
|
LUAI_FUNC l_noret | luaD_throw (lua_State *L, int errcode) |
|
LUAI_FUNC void | luaD_tryfuncTM (lua_State *L, StkId func) |
|
◆ checkstackGC
Definition at line 48 of file ldo.h.
◆ checkstackGCp
#define checkstackGCp |
( |
|
L, |
|
|
|
n, |
|
|
|
p |
|
) |
| |
Value:
Definition at line 40 of file ldo.h.
◆ luaD_checkstack
Definition at line 31 of file ldo.h.
◆ luaD_checkstackaux
#define luaD_checkstackaux |
( |
|
L, |
|
|
|
n, |
|
|
|
pre, |
|
|
|
pos |
|
) |
| |
Value: if (l_unlikely(L->stack_last - L->top <= (n))) \
Definition at line 25 of file ldo.h.
◆ restorestack
#define restorestack |
( |
|
L, |
|
|
|
n |
|
) |
| ((StkId)((char *)L->stack + (n))) |
Definition at line 36 of file ldo.h.
◆ savestack
#define savestack |
( |
|
L, |
|
|
|
p |
|
) |
| ((char *)(p) - (char *)L->stack) |
Definition at line 35 of file ldo.h.
◆ Pfunc
typedef void(* Pfunc) (lua_State *L, void *ud) |
Definition at line 53 of file ldo.h.
◆ luaD_call()
◆ luaD_callnoyield()
◆ luaD_closeprotected()
◆ luaD_growstack()
◆ luaD_hook()
LUAI_FUNC void luaD_hook |
( |
lua_State * |
L, |
|
|
int |
event, |
|
|
int |
line, |
|
|
int |
fTransfer, |
|
|
int |
nTransfer |
|
) |
| |
◆ luaD_hookcall()
◆ luaD_inctop()
◆ luaD_pcall()
◆ luaD_poscall()
◆ luaD_precall()
◆ luaD_pretailcall()
◆ luaD_protectedparser()
◆ luaD_rawrunprotected()
◆ luaD_reallocstack()
◆ luaD_seterrorobj()
Definition at line 91 of file ldo.c.
◆ luaD_shrinkstack()
◆ luaD_throw()
◆ luaD_tryfuncTM()