Closure
Closure *cl;
static void funcinfo (lua_Debug *ar, Closure *cl) {
static void collectvalidlines (lua_State *L, Closure *f) {
Closure *f, CallInfo *ci) {
Closure *cl;
Closure *cl;
Closure *luaF_newCclosure (lua_State *L, int n) {
Closure *c = &luaC_newobj(L, LUA_TCCL, sizeCclosure(n), NULL, 0)->cl;
Closure *luaF_newLclosure (lua_State *L, int n) {
Closure *c = &luaC_newobj(L, LUA_TLCL, sizeLclosure(n), NULL, 0)->cl;
LUAI_FUNC Closure *luaF_newCclosure (lua_State *L, int nelems);
LUAI_FUNC Closure *luaF_newLclosure (lua_State *L, int nelems);
LUAI_FUNC void luaC_barrierproto_ (lua_State *L, Proto *p, Closure *c) {
LUAI_FUNC void luaC_barrierproto_ (lua_State *L, Proto *p, Closure *c);
union Closure *cache; /* last created closure with this prototype */
Closure *luaY_parser (lua_State *L, ZIO *z, Mbuffer *buff,
Closure *cl = luaF_newLclosure(L, 1); /* create main closure */
LUAI_FUNC Closure *luaY_parser (lua_State *L, ZIO *z, Mbuffer *buff,
union Closure cl;
Closure* luaU_undump (lua_State* L, ZIO* Z, Mbuffer* buff, const char* name)
Closure* cl;
LUAI_FUNC Closure* luaU_undump (lua_State* L, ZIO* Z, Mbuffer* buff, const char* name);
static Closure *getcached (Proto *p, UpVal **encup, StkId base) {
Closure *c = p->cache;
Closure *ncl = luaF_newLclosure(L, nup);
Closure *ncl = getcached(p, cl->upvals, base); /* cached closure */