MCPcopy Create free account
hub / github.com/MyGUI/mygui / unload

Method unload

MyGUIEngine/src/MyGUI_DynLib.cpp:67–83  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65 }
66
67 void DynLib::unload()
68 {
69#ifdef MYGUI_DISABLE_PLUGINS
70 MYGUI_EXCEPT("Plugins support disabled, rebuild MyGUI without MYGUI_DISABLE_PLUGINS");
71#else
72 // Log library unload
73 MYGUI_LOG(Info, "Unloading library " << mName);
74 #if MYGUI_PLATFORM == MYGUI_PLATFORM_APPLE
75 //APPLE SPECIFIC CODE HERE
76 #else
77 if (MYGUI_DYNLIB_UNLOAD(mInstance))
78 {
79 MYGUI_EXCEPT("Could not unload dynamic library '" << mName << "'. System Error: " << dynlibError());
80 }
81 #endif
82#endif
83 }
84
85 void* DynLib::getSymbol(const char* strName) const noexcept
86 {

Callers 1

unloadPluginMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected