MCPcopy Create free account
hub / github.com/PenguLoader/PenguLoader / find_lib

Method find_lib

core/src/utils/dylib.cc:12–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10#endif
11
12void *dylib::find_lib(const char *name)
13{
14#if OS_WIN
15 return (void *)GetModuleHandleA(name);
16#elif OS_MAC
17 return dlopen(name, RTLD_NOLOAD | RTLD_LAZY);
18#endif
19}
20
21void *dylib::find_proc(void *lib, const char *proc)
22{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected