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

Function dlsym

lite/src/misc.h:235–238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

233}
234
235static inline void* dlsym(void* handle, const char* name) {
236 FARPROC symbol = GetProcAddress((HMODULE)handle, name);
237 return reinterpret_cast<void*>(symbol);
238}
239#elif __linux__ || __unix__ || __APPLE__
240#include <dlfcn.h>
241#include <unistd.h>

Callers 4

set_loader_lib_pathMethod · 0.70
load_libMethod · 0.50
resolve_funcMethod · 0.50
NvOFCudaAPIMethod · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected