StkId
StkId t;
StkId t;
static const char *aux_upvalue (StkId fi, int n, TValue **val,
StkId fi;
StkId fi = index2addr(L, fidx);
StkId fi = index2addr(L, fidx);
StkId func = L->ci->func;
StkId p;
StkId p;
StkId q;
StkId o = index2addr(L, idx);
StkId o = index2addr(L, idx);
StkId o1 = index2addr(L, index1);
StkId o2 = index2addr(L, index2);
StkId o1; /* 1st operand */
StkId o2; /* 2nd operand */
StkId o1, o2;
StkId o = index2addr(L, idx);
StkId o = index2addr(L, idx);
StkId o = index2addr(L, idx);
StkId o = index2addr(L, idx);
StkId o = index2addr(L, idx);
StkId o = index2addr(L, idx);
StkId t;
StkId t;
StkId t;
StkId t;
StkId t;
StkId o;
StkId t;
StkId t;
StkId t;
StkId t;
StkId t;
StkId o;
StkId func;
StkId func;
StkId o = index2addr(L, errfunc);
static const char *findvararg (CallInfo *ci, int n, StkId *pos) {
StkId *pos) {
StkId base;
StkId limit = (ci == L->ci) ? L->top : ci->next->func;
StkId pos = 0; /* to avoid warnings */
StkId pos = 0; /* to avoid warnings */
StkId func;
StkId temp = ci->func; /* exchange its 'func' and 'extra' values */
StkId p;
l_noret luaG_concaterror (lua_State *L, StkId p1, StkId p2) {
StkId errfunc = restorestack(L, L->errfunc);
LUAI_FUNC l_noret luaG_concaterror (lua_State *L, StkId p1, StkId p2);
StkId lim = L->top;
static StkId adjust_varargs (lua_State *L, Proto *p, int actual) {
StkId base, fixed;
static StkId tryfuncTM (lua_State *L, StkId func) {
StkId p;
int luaD_precall (lua_State *L, StkId func, int nresults) {
StkId base;
int luaD_poscall (lua_State *L, StkId firstResult) {
StkId res;
void luaD_call (lua_State *L, StkId func, int nResults, int allowyield) {
StkId oldtop;
static l_noret resume_error (lua_State *L, const char *msg, StkId firstArg) {
StkId firstArg = cast(StkId, ud);
StkId oldtop = restorestack(L, old_top);
static void seterrorobj (lua_State *L, int errcode, StkId oldtop) {
LUAI_FUNC int luaD_precall (lua_State *L, StkId func, int nresults);
LUAI_FUNC void luaD_call (lua_State *L, StkId func, int nResults,
LUAI_FUNC int luaD_poscall (lua_State *L, StkId firstResult);
UpVal *luaF_findupval (lua_State *L, StkId level) {
void luaF_close (lua_State *L, StkId level) {
LUAI_FUNC UpVal *luaF_findupval (lua_State *L, StkId level);
LUAI_FUNC void luaF_close (lua_State *L, StkId level);
StkId o = th->stack;
StkId lim = th->stack + th->stacksize; /* real end of stack */
StkId top; /* first free slot in the stack */
StkId stack_last; /* last free slot in the stack */
StkId stack; /* stack base */
StkId func; /* function index in the stack */
StkId top; /* top for this function */
StkId base; /* base for this function */
static int findindex (lua_State *L, Table *t, StkId key) {
int luaH_next (lua_State *L, Table *t, StkId key) {
LUAI_FUNC int luaH_next (lua_State *L, Table *t, StkId key);
void luaV_gettable (lua_State *L, const TValue *t, TValue *key, StkId val) {
void luaV_settable (lua_State *L, const TValue *t, TValue *key, StkId val) {
StkId res, TMS event) {
StkId top = L->top;
void luaV_objlen (lua_State *L, StkId ra, const TValue *rb) {
void luaV_arith (lua_State *L, StkId ra, const TValue *rb,
static Closure *getcached (Proto *p, UpVal **encup, StkId base) {
static void pushclosure (lua_State *L, Proto *p, UpVal **encup, StkId base,
StkId ra) {
int luaV_tostring (lua_State *L, StkId obj) {
StkId base = ci->u.l.base;
StkId top = L->top - 1; /* top when 'call_binTM' was called */
StkId base;
StkId ra;
StkId rb = RB(i);
StkId rb;
StkId nfunc = nci->func; /* called function */
StkId ofunc = oci->func; /* caller function */
StkId lim = nci->u.l.base + getproto(nfunc)->numparams;
StkId cb = ra + 3; /* call base */
LUAI_FUNC int luaV_tostring (lua_State *L, StkId obj);
StkId val);
StkId val);
LUAI_FUNC void luaV_arith (lua_State *L, StkId ra, const TValue *rb,
LUAI_FUNC void luaV_objlen (lua_State *L, StkId ra, const TValue *rb);