MCPcopy Create free account
hub / github.com/20tab/UnrealEnginePython / Callback

Method Callback

Source/UnrealEnginePython/Private/UEPySlate.cpp:42–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

40
41
42void 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
52void FPythonSlateMenuBar::Filler(FMenuBuilder& Builder) {
53 for (FPythonSlateCommand *cmd : *commands) {

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected