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

Function luaF_newCclosure

third-party/lua-5.2.4/src/lfunc.c:23–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21
22
23Closure *luaF_newCclosure (lua_State *L, int n) {
24 Closure *c = &luaC_newobj(L, LUA_TCCL, sizeCclosure(n), NULL, 0)->cl;
25 c->c.nupvalues = cast_byte(n);
26 return c;
27}
28
29
30Closure *luaF_newLclosure (lua_State *L, int n) {

Callers 1

lua_pushcclosureFunction · 0.70

Calls 1

luaC_newobjFunction · 0.70

Tested by

no test coverage detected