22#define gt(L) (&L->l_gt)
25#define registry(L) (&G(L)->l_registry)
32#define BASIC_CI_SIZE 8
34#define BASIC_STACK_SIZE (2*LUA_MINSTACK)
52 const Instruction *savedpc;
59#define curr_func(L) (clvalue(L->ci->func))
60#define ci_func(ci) (clvalue((ci)->func))
61#define f_isLua(ci) (!ci_func(ci)->c.isC)
62#define isLua(ci) (ttisfunction((ci)->func) && f_isLua(ci))
92 struct Table *mt[NUM_TAGS];
107 const Instruction *savedpc;
114 unsigned short nCcalls;
115 unsigned short baseCcalls;
125 struct lua_longjmp *errorJmp;
149#define rawgco2ts(o) check_exp((o)->gch.tt == LUA_TSTRING, &((o)->ts))
150#define gco2ts(o) (&rawgco2ts(o)->tsv)
151#define rawgco2u(o) check_exp((o)->gch.tt == LUA_TUSERDATA, &((o)->u))
152#define gco2u(o) (&rawgco2u(o)->uv)
153#define gco2cl(o) check_exp((o)->gch.tt == LUA_TFUNCTION, &((o)->cl))
154#define gco2h(o) check_exp((o)->gch.tt == LUA_TTABLE, &((o)->h))
155#define gco2p(o) check_exp((o)->gch.tt == LUA_TPROTO, &((o)->p))
156#define gco2uv(o) check_exp((o)->gch.tt == LUA_TUPVAL, &((o)->uv))
158 check_exp((o) == NULL || (o)->gch.tt == LUA_TUPVAL, &((o)->uv))
159#define gco2th(o) check_exp((o)->gch.tt == LUA_TTHREAD, &((o)->th))
162#define obj2gco(v) (cast(GCObject *, (v)))
Definition: lobject.h:231
Definition: lobject.h:338
Definition: lobject.h:274
Definition: lobject.h:309
Definition: lobject.h:199
Definition: lobject.h:215