MCPcopy Create free account
hub / github.com/MegEngine/MegEngine / dlopen

Function dlopen

src/custom/impl/manager.cpp:21–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19#define RTLD_LAZY 0
20
21void* dlopen(const char* file, int) {
22 return static_cast<void*>(LoadLibrary(file));
23}
24
25int dlclose(void* handle) {
26 return static_cast<int>(FreeLibrary(static_cast<HMODULE>(handle)));

Callers 5

CustomLibMethod · 0.70
load_libMethod · 0.50
unload_libMethod · 0.50
LoadNvOFAPIMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected