| 112 | } |
| 113 | |
| 114 | void 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 | |
| 123 | void Embedded::reloadModule(const std::string &moduleName) |
| 124 | { |
no test coverage detected