MCPcopy Create free account
hub / github.com/COVESA/vsomeip / load_library

Method load_library

implementation/plugin/src/plugin_manager_impl.cpp:103–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101}
102
103void* plugin_manager_impl::load_library(const std::string& _path) {
104#ifdef _WIN32
105 return LoadLibrary(_path.c_str());
106#else
107 void* handle = dlopen(_path.c_str(), RTLD_LAZY | RTLD_LOCAL);
108 if (handle == nullptr) {
109 VSOMEIP_ERROR << "Could not dlopen \"" << _path << "\" due to err: " << dlerror();
110 }
111
112 return handle;
113#endif
114}
115
116void* plugin_manager_impl::load_symbol(void* _handle, const std::string& _symbol_name) {
117 void* symbol = nullptr;

Callers 1

loadMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected