MCPcopy Create free account
hub / github.com/EmmyLua/EmmyLuaDebugger / luaC_newobj

Function luaC_newobj

third-party/lua-5.5.0/src/lgc.c:312–314  ·  view source on GitHub ↗

** create a new collectable object with no offset. */

Source from the content-addressed store, hash-verified

310** create a new collectable object with no offset.
311*/
312GCObject *luaC_newobj (lua_State *L, lu_byte tt, size_t sz) {
313 return luaC_newobjdt(L, tt, sz, 0);
314}
315
316/* }====================================================== */
317

Callers 8

luaH_newFunction · 0.70
luaF_newCclosureFunction · 0.70
luaF_newLclosureFunction · 0.70
luaF_initupvalsFunction · 0.70
newupvalFunction · 0.70
luaF_newprotoFunction · 0.70
createstrobjFunction · 0.70
luaS_newudataFunction · 0.70

Calls 1

luaC_newobjdtFunction · 0.70

Tested by

no test coverage detected