MCPcopy Create free account
hub / github.com/defold/defold / luaC_link

Function luaC_link

engine/lua/src/lua/lgc.c:686–692  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

684
685
686void luaC_link (lua_State *L, GCObject *o, lu_byte tt) {
687 global_State *g = G(L);
688 o->gch.next = g->rootgc;
689 g->rootgc = o;
690 o->gch.marked = luaC_white(g);
691 o->gch.tt = tt;
692}
693
694
695void 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 1

GFunction · 0.50

Tested by

no test coverage detected