#include <setjmp.h>
#include <stdlib.h>
#include <string.h>
#include "lua.h"
#include "ldebug.h"
#include "ldo.h"
#include "lfunc.h"
#include "lgc.h"
#include "lmem.h"
#include "lobject.h"
#include "lopcodes.h"
#include "lparser.h"
#include "lstate.h"
#include "lstring.h"
#include "ltable.h"
#include "ltm.h"
#include "lundump.h"
#include "lvm.h"
#include "lzio.h"
gehe zum Quellcode dieser Datei
|
LUAI_FUNC void | luaD_seterrorobj (lua_State *L, int errcode, StkId oldtop) |
|
static void | restore_stack_limit (lua_State *L) |
|
static void | resetstack (lua_State *L, int status) |
|
LUAI_FUNC void | luaD_throw (lua_State *L, int errcode) |
|
LUAI_FUNC int | luaD_rawrunprotected (lua_State *L, Pfunc f, void *ud) |
|
static void | correctstack (lua_State *L, TValue *oldstack) |
|
LUAI_FUNC void | luaD_reallocstack (lua_State *L, int newsize) |
|
LUAI_FUNC void | luaD_reallocCI (lua_State *L, int newsize) |
|
LUAI_FUNC void | luaD_growstack (lua_State *L, int n) |
|
static CallInfo * | growCI (lua_State *L) |
|
LUAI_FUNC void | luaD_callhook (lua_State *L, int event, int line) |
|
static StkId | adjust_varargs (lua_State *L, Proto *p, int actual) |
|
static StkId | tryfuncTM (lua_State *L, StkId func) |
|
LUAI_FUNC int | luaD_precall (lua_State *L, StkId func, int nresults) |
|
static StkId | callrethooks (lua_State *L, StkId firstResult) |
|
LUAI_FUNC int | luaD_poscall (lua_State *L, StkId firstResult) |
|
LUAI_FUNC void | luaD_call (lua_State *L, StkId func, int nResults) |
|
static void | resume (lua_State *L, void *ud) |
|
static int | resume_error (lua_State *L, const char *msg) |
|
LUA_API int | lua_resume (lua_State *L, int nargs) |
|
LUA_API int | lua_yield (lua_State *L, int nresults) |
|
LUAI_FUNC int | luaD_pcall (lua_State *L, Pfunc func, void *u, ptrdiff_t old_top, ptrdiff_t ef) |
|
static void | f_parser (lua_State *L, void *ud) |
|
LUAI_FUNC int | luaD_protectedparser (lua_State *L, ZIO *z, const char *name) |
|
Wert:
Definiert in Zeile 260 der Datei ldo.c.
Definiert in Zeile 12 der Datei ldo.c.
Definiert in Zeile 13 der Datei ldo.c.
Definiert in Zeile 208 der Datei ldo.c.
213 for (; actual < nfixargs; ++actual)
215 #if defined(LUA_COMPAT_VARARG)
217 int nvar = actual - nfixargs;
222 for (i=0; i<nvar; i++)
229 fixed = L->
top - actual;
231 for (i=0; i<nfixargs; i++) {
Definiert in Zeile 126 der Datei ldo.c.
132 for (ci = L->
base_ci; ci <= L->ci; ci++) {
static void f_parser |
( |
lua_State * |
L, |
|
|
void * |
ud |
|
) |
| |
|
static |
Definiert in Zeile 491 der Datei ldo.c.
502 for (i = 0; i < tf->
nups; i++)
Definiert in Zeile 418 der Datei ldo.c.
422 return resume_error(L,
"cannot resume non-suspended coroutine");
Definiert in Zeile 444 der Datei ldo.c.
448 luaG_runerror(L,
"attempt to yield across metamethod/C-call boundary");
Definiert in Zeile 161 der Datei ldo.c.
162 if (n <= L->stacksize)
Definiert in Zeile 456 der Datei ldo.c.
459 unsigned short oldnCcalls = L->
nCcalls;
Definiert in Zeile 343 der Datei ldo.c.
352 L->
base = (ci - 1)->base;
353 L->
savedpc = (ci - 1)->savedpc;
355 for (i = wanted; i != 0 && firstResult < L->
top; i--)
Definiert in Zeile 265 der Datei ldo.c.
297 for (st = L->
top; st < ci->
top; st++)
Definiert in Zeile 51 der Datei ldo.c.
Definiert in Zeile 94 der Datei ldo.c.
static void resetstack |
( |
lua_State * |
L, |
|
|
int |
status |
|
) |
| |
|
static |
Definiert in Zeile 81 der Datei ldo.c.
static void restore_stack_limit |
( |
lua_State * |
L) | |
|
|
static |
Definiert in Zeile 71 der Datei ldo.c.
static void resume |
( |
lua_State * |
L, |
|
|
void * |
ud |
|
) |
| |
|
static |