MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/SPlisHSPlasH / releaseModule

Method releaseModule

pySPlisHSPlasH/Embedded.cpp:114–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112}
113
114void Embedded::releaseModule(const std::string &moduleName)
115{
116 try
117 {
118 m_mainScope[moduleName.c_str()].cast<py::module_>().release();
119 }
120 catch (py::error_already_set const& pythonErr) { std::cout << pythonErr.what(); }
121}
122
123void Embedded::reloadModule(const std::string &moduleName)
124{

Callers 1

~ScriptObjectMethod · 0.80

Calls 3

releaseMethod · 0.45
c_strMethod · 0.45
whatMethod · 0.45

Tested by

no test coverage detected