MCPcopy Create free account
hub / github.com/VCVRack/Rack / getSymbol

Function getSymbol

src/plugin.cpp:48–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

46
47
48static void* getSymbol(void* handle, const char* name) {
49 if (!handle)
50 return NULL;
51
52#if defined ARCH_WIN
53 return (void*) GetProcAddress((HMODULE) handle, name);
54#else
55 return dlsym(handle, name);
56#endif
57}
58
59/** Returns library handle */
60static void* loadLibrary(std::string libraryPath) {

Callers 4

loadPluginCallbackFunction · 0.85
loadPluginFunction · 0.85
destroyPluginFunction · 0.85
settingsMergeJsonFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected