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

Function lookforfunc

lua/loadlib.c:332–350  ·  view source on GitHub ↗

** Look for a C function named 'sym' in a dynamically loaded library ** 'path'. ** First, check whether the library is already loaded; if not, try ** to load it. ** Then, if 'sym' is '*', return true (as library has been loaded). ** Otherwise, look for symbol 'sym' in the library and push a ** C function with that symbol. ** Return 0 and 'true' or a function in the stack; in case of ** errors, ret

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

ll_loadlibFunction · 0.85
loadfuncFunction · 0.85

Calls 5

checkclibFunction · 0.85
lsys_loadFunction · 0.85
addtoclibFunction · 0.85
lua_pushbooleanFunction · 0.85
lsys_symFunction · 0.85

Tested by

no test coverage detected