#include "lobject.h"
#include "lstate.h"
#include "lzio.h"
Go to the source code of this file.
|
int | luaD_protectedparser (lua_State *L, ZIO *z, const char *name, const char *mode) |
|
void | luaD_hook (lua_State *L, int event, int line) |
|
int | luaD_precall (lua_State *L, StkId func, int nresults) |
|
void | luaD_call (lua_State *L, StkId func, int nResults) |
|
void | luaD_callnoyield (lua_State *L, StkId func, int nResults) |
|
int | luaD_pcall (lua_State *L, Pfunc func, void *u, ptrdiff_t oldtop, ptrdiff_t ef) |
|
int | luaD_poscall (lua_State *L, CallInfo *ci, StkId firstResult, int nres) |
|
void | luaD_reallocstack (lua_State *L, int newsize) |
|
void | luaD_growstack (lua_State *L, int n) |
|
void | luaD_shrinkstack (lua_State *L) |
|
void | luaD_inctop (lua_State *L) |
|
void | luaD_throw (lua_State *L, int errcode) |
|
int | luaD_rawrunprotected (lua_State *L, Pfunc f, void *ud) |
|
◆ luaD_checkstack
Definition at line 28 of file ldo.h.
◆ luaD_checkstackaux
#define luaD_checkstackaux |
( |
|
L, |
|
|
|
n, |
|
|
|
pre, |
|
|
|
pos |
|
) |
| |
Value: if (L->stack_last - L->top <= (n)) \
void luaD_growstack(lua_State *L, int n)
#define condmovestack(L, pre, pos)
Definition at line 23 of file ldo.h.
◆ restorestack
#define restorestack |
( |
|
L, |
|
|
|
n |
|
) |
| ((TValue *)((char *)L->stack + (n))) |
Definition at line 33 of file ldo.h.
◆ savestack
#define savestack |
( |
|
L, |
|
|
|
p |
|
) |
| ((char *)(p) - (char *)L->stack) |
Definition at line 32 of file ldo.h.
◆ Pfunc
typedef void(* Pfunc) (lua_State *L, void *ud) |
Definition at line 37 of file ldo.h.
◆ luaD_call()
◆ luaD_callnoyield()
◆ luaD_growstack()
◆ luaD_hook()
void luaD_hook |
( |
lua_State * |
L, |
|
|
int |
event, |
|
|
int |
line |
|
) |
| |
◆ luaD_inctop()
◆ luaD_pcall()
int luaD_pcall |
( |
lua_State * |
L, |
|
|
Pfunc |
func, |
|
|
void * |
u, |
|
|
ptrdiff_t |
oldtop, |
|
|
ptrdiff_t |
ef |
|
) |
| |
◆ luaD_poscall()
◆ luaD_precall()
◆ luaD_protectedparser()
int luaD_protectedparser |
( |
lua_State * |
L, |
|
|
ZIO * |
z, |
|
|
const char * |
name, |
|
|
const char * |
mode |
|
) |
| |
◆ luaD_rawrunprotected()
◆ luaD_reallocstack()
void luaD_reallocstack |
( |
lua_State * |
L, |
|
|
int |
newsize |
|
) |
| |
◆ luaD_shrinkstack()
◆ luaD_throw()
void luaD_throw |
( |
lua_State * |
L, |
|
|
int |
errcode |
|
) |
| |