Searched refs:twups (Results 1 – 5 of 5) sorted by relevance
76 L->twups = G(L)->twups; /* link it to the list */ in newupval()77 G(L)->twups = L; in newupval()
294 struct lua_State *twups; /* list of threads with open upvalues */ member322 struct lua_State *twups; /* list of threads with open upvalues */ member
22 #define isintwups(L) (L->twups != L)
369 lua_State **p = &g->twups; in remarkupvals()374 p = &thread->twups; /* keep marked thread with upvalues in the list */ in remarkupvals()378 *p = thread->twups; /* remove thread from the list */ in remarkupvals()379 thread->twups = thread; /* mark that it is out of list */ in remarkupvals()645 th->twups = g->twups; /* link it back to the list */ in traversethread()646 g->twups = th; in traversethread()
254 L->twups = L; /* thread has no upvalues */ in preinit_thread()396 g->twups = NULL; in lua_newstate()