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

Function luaF_newCclosure

freebsd/contrib/openzfs/module/lua/lfunc.c:22–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

lua_pushcclosureFunction · 0.70

Calls 1

luaC_newobjFunction · 0.85

Tested by

no test coverage detected