MCPcopy Create free account
hub / github.com/ejoy/ejoy2d / luaL_requiref

Function luaL_requiref

lua/lauxlib.c:900–917  ·  view source on GitHub ↗

** Stripped-down 'require': After checking "loaded" table, calls 'openf' ** to open a module, registers the result in 'package.loaded' table and, ** if 'glb' is true, also registers the result in the global table. ** Leaves resulting module on the top. */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

ejoy2d_initFunction · 0.85
luaL_openlibsFunction · 0.85

Calls 7

luaL_getsubtableFunction · 0.85
lua_getfieldFunction · 0.85
lua_tobooleanFunction · 0.85
lua_pushstringFunction · 0.85
lua_pushvalueFunction · 0.85
lua_setfieldFunction · 0.85
lua_setglobalFunction · 0.85

Tested by

no test coverage detected