MCPcopy Create free account
hub / github.com/ObEngine/ObEngine / openLib

Method openLib

extlibs/dynamicLinker/src/dynamicLinker.cpp:21–27  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

19 }
20
21 void * dynamicLinker::openLib() {
22#ifdef _WIN32
23 return LoadLibrary( libPath.c_str() );
24#else
25 return dlopen( libPath.c_str(), RTLD_NOW | RTLD_LOCAL );
26#endif
27 }
28
29 dynamicLinker::dynamicLinker( std::string path ) : libPath(path) {
30 }

Callers

nothing calls this directly

Calls 1

c_strMethod · 0.45

Tested by

no test coverage detected