Go to the documentation of this file.
40 while (nupvals--) c->
upvals[nupvals] = NULL;
50 for (i = 0; i < cl->nupvalues; i++) {
72 uv->
u.
open.previous = prev;
92 while ((p = *pp) != NULL &&
uplevel(p) >= level) {
131 if (vname == NULL) vname =
"?";
132 luaG_runerror(L,
"variable '%s' got a non-closable value", vname);
148 errobj = &
G(L)->nilvalue;
150 errobj =
s2v(level + 1);
163 ((256ul << ((sizeof(L->stack->tbclist.delta) - 1) * 8)) - 1)
187 uv->
u.
open.next->u.open.previous = uv->
u.
open.previous;
229 ptrdiff_t levelrel =
savestack(L, level);
251 f->abslineinfo = NULL;
252 f->sizeabslineinfo = 0;
261 f->lastlinedefined = 0;
285 for (i = 0; i<
f->sizelocvars &&
f->locvars[i].startpc <= pc; i++) {
286 if (pc < f->locvars[i].endpc) {
288 if (local_number == 0)
289 return getstr(
f->locvars[i].varname);
const char * luaF_getlocalname(const Proto *f, int local_number, int pc)
GCObject * luaC_newobj(lua_State *L, int tt, size_t sz)
void luaF_freeproto(lua_State *L, Proto *f)
#define luaC_objbarrier(L, p, o)
static void checkclosemth(lua_State *L, StkId level)
void luaF_unlinkupval(UpVal *uv)
l_noret luaG_runerror(lua_State *L, const char *fmt,...)
#define restorestack(L, n)
const char * luaG_findlocal(lua_State *L, CallInfo *ci, int n, StkId *pos)
void luaF_closeupval(lua_State *L, StkId level)
void luaD_callnoyield(lua_State *L, StkId func, int nResults)
static void prepcallclosemth(lua_State *L, StkId level, int status, int yy)
void luaF_close(lua_State *L, StkId level, int status, int yy)
void luaF_newtbcupval(lua_State *L, StkId level)
void luaD_call(lua_State *L, StkId func, int nResults)
#define setobj(L, obj1, obj2)
void luaD_seterrorobj(lua_State *L, int errcode, StkId oldtop)
CClosure * luaF_newCclosure(lua_State *L, int nupvals)
Proto * luaF_newproto(lua_State *L)
static UpVal * newupval(lua_State *L, int tbc, StkId level, UpVal **prev)
struct StackValue::@1 tbclist
static void poptbclist(lua_State *L)
static void callclosemethod(lua_State *L, TValue *obj, TValue *err, int yy)
void luaF_initupvals(lua_State *L, LClosure *cl)
const TValue * luaT_gettmbyobj(lua_State *L, const TValue *o, TMS event)
#define setobj2s(L, o1, o2)
LClosure * luaF_newLclosure(lua_State *L, int nupvals)
struct UpVal::@4::@5 open
UpVal * luaF_findupval(lua_State *L, StkId level)
#define luaM_freearray(L, b, n)
#define luaC_barrier(L, p, v)
plotjuggler
Author(s): Davide Faconti
autogenerated on Mon Nov 11 2024 03:23:44