MCPcopy Create free account
hub / github.com/MITK/MITK / load_impl

Function load_impl

Modules/CppMicroServices/src/usUtils.cpp:66–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64const char DIR_SEP = '/';
65
66bool load_impl(const std::string& modulePath)
67{
68 void* handle = dlopen(modulePath.c_str(), RTLD_NOW | RTLD_LOCAL);
69 if (handle == nullptr)
70 {
71 MITK_WARN << dlerror();
72 }
73 return (handle != nullptr);
74}
75
76#elif defined(US_PLATFORM_WINDOWS)
77

Callers 1

AutoLoadModulesFromPathFunction · 0.85

Calls 1

GetLastErrorStrFunction · 0.70

Tested by

no test coverage detected