MCPcopy Create free account
hub / github.com/0xShug0/audio.cpp / close_dynamic_library

Function close_dynamic_library

include/engine/framework/io/dynamic_library.h:39–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37 return nullptr;
38}
39
40inline DynamicLibraryHandle open_dynamic_library(const std::string & name) {
41#ifdef _WIN32
42 return LoadLibraryA(name.c_str());
43#else
44 return dlopen(name.c_str(), RTLD_LAZY | RTLD_LOCAL);
45#endif
46}
47
48inline void close_dynamic_library(DynamicLibraryHandle handle) {
49 if (handle == nullptr) {
50 return;
51 }

Callers 3

SoxrApiMethod · 0.85
~SoxrApiMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected