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

Function auxopen

engine/lua/src/lua/lbaselib.c:618–623  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

616
617
618static void auxopen (lua_State *L, const char *name,
619 lua_CFunction f, lua_CFunction u) {
620 lua_pushcfunction(L, u);
621 lua_pushcclosure(L, f, 1);
622 lua_setfield(L, -2, name);
623}
624
625
626static void base_open (lua_State *L) {

Callers 1

base_openFunction · 0.85

Calls 2

lua_pushcclosureFunction · 0.85
lua_setfieldFunction · 0.85

Tested by

no test coverage detected