MCPcopy Create free account
hub / github.com/F-Stack/f-stack / luaC_link

Function luaC_link

app/redis-6.2.6/deps/lua/src/lgc.c:685–691  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

683
684
685void luaC_link (lua_State *L, GCObject *o, lu_byte tt) {
686 global_State *g = G(L);
687 o->gch.next = g->rootgc;
688 g->rootgc = o;
689 o->gch.marked = luaC_white(g);
690 o->gch.tt = tt;
691}
692
693
694void luaC_linkupval (lua_State *L, UpVal *uv) {

Callers 6

luaE_newthreadFunction · 0.85
luaH_newFunction · 0.85
luaF_newCclosureFunction · 0.85
luaF_newLclosureFunction · 0.85
luaF_newupvalFunction · 0.85
luaF_newprotoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected