| 2136 | } |
| 2137 | |
| 2138 | inline void draw() |
| 2139 | { |
| 2140 | detail::_interpreter::get(); |
| 2141 | |
| 2142 | PyObject* res = PyObject_CallObject( |
| 2143 | detail::_interpreter::get().s_python_function_draw, |
| 2144 | detail::_interpreter::get().s_python_empty_tuple); |
| 2145 | |
| 2146 | if (!res) throw std::runtime_error("Call to draw() failed."); |
| 2147 | |
| 2148 | Py_DECREF(res); |
| 2149 | } |
| 2150 | |
| 2151 | template<typename Numeric> |
| 2152 | inline void pause(Numeric interval) |
nothing calls this directly
no outgoing calls
no test coverage detected