| 40 | |
| 41 | |
| 42 | void FPythonSlateCommand::Callback() { |
| 43 | FScopePythonGIL gil; |
| 44 | PyObject *ret = PyObject_CallObject(py_callable, NULL); |
| 45 | if (!ret) { |
| 46 | unreal_engine_py_log_error(); |
| 47 | return; |
| 48 | } |
| 49 | Py_DECREF(ret); |
| 50 | } |
| 51 | |
| 52 | void FPythonSlateMenuBar::Filler(FMenuBuilder& Builder) { |
| 53 | for (FPythonSlateCommand *cmd : *commands) { |
nothing calls this directly
no test coverage detected