| 2106 | } |
| 2107 | |
| 2108 | inline void close() |
| 2109 | { |
| 2110 | detail::_interpreter::get(); |
| 2111 | |
| 2112 | PyObject* res = PyObject_CallObject( |
| 2113 | detail::_interpreter::get().s_python_function_close, |
| 2114 | detail::_interpreter::get().s_python_empty_tuple); |
| 2115 | |
| 2116 | if (!res) throw std::runtime_error("Call to close() failed."); |
| 2117 | |
| 2118 | Py_DECREF(res); |
| 2119 | } |
| 2120 | |
| 2121 | inline void xkcd() { |
| 2122 | detail::_interpreter::get(); |
nothing calls this directly
no outgoing calls
no test coverage detected