MCPcopy Create free account
hub / github.com/DFHack/dfhack / command_result plugin_shutdown

Function command_result plugin_shutdown

plugins/title-folder.cpp:84–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

82}
83
84DFhackCExport command_result plugin_shutdown (color_ostream &out)
85{
86 if (is_enabled)
87 {
88 plugin_enable(out, false);
89 }
90 if (sdl_handle)
91 {
92 ClosePlugin(sdl_handle);
93 sdl_handle = NULL;
94 }
95 return CR_OK;
96}
97
98DFhackCExport command_result plugin_enable (color_ostream &out, bool state)
99{

Callers

nothing calls this directly

Calls 1

ClosePluginFunction · 0.85

Tested by

no test coverage detected