@@ -115,7 +115,7 @@ FReply FPythonSlateDelegate::OnMouseEvent(const FGeometry &geometry, const FPoin
115115{
116116 FScopePythonGIL gil;
117117
118- PyObject *ret = PyObject_CallFunction (py_callable, (char *)" OO " , py_ue_new_fgeometry (geometry), py_ue_new_fpointer_event (pointer_event));
118+ PyObject *ret = PyObject_CallFunction (py_callable, (char *)" NN " , py_ue_new_fgeometry (geometry), py_ue_new_fpointer_event (pointer_event));
119119 if (!ret)
120120 {
121121 unreal_engine_py_log_error ();
@@ -135,7 +135,7 @@ FReply FPythonSlateDelegate::OnKeyDown(const FGeometry &geometry, const FKeyEven
135135{
136136 FScopePythonGIL gil;
137137
138- PyObject *ret = PyObject_CallFunction (py_callable, (char *)" OO " , py_ue_new_fgeometry (geometry), py_ue_new_fkey_event (key_event));
138+ PyObject *ret = PyObject_CallFunction (py_callable, (char *)" NN " , py_ue_new_fgeometry (geometry), py_ue_new_fkey_event (key_event));
139139 if (!ret)
140140 {
141141 unreal_engine_py_log_error ();
@@ -253,7 +253,7 @@ void FPythonSlateDelegate::OnLinearColorChanged(FLinearColor color)
253253{
254254 FScopePythonGIL gil;
255255
256- PyObject *ret = PyObject_CallFunction (py_callable, (char *)" O " , py_ue_new_flinearcolor (color));
256+ PyObject *ret = PyObject_CallFunction (py_callable, (char *)" N " , py_ue_new_flinearcolor (color));
257257 if (!ret)
258258 {
259259 unreal_engine_py_log_error ();
@@ -266,7 +266,7 @@ void FPythonSlateDelegate::OnWindowClosed(const TSharedRef<SWindow> &Window)
266266{
267267 FScopePythonGIL gil;
268268
269- PyObject *ret = PyObject_CallFunction (py_callable, (char *)" O " , py_ue_new_swidget<ue_PySWindow>(StaticCastSharedRef<SWidget>(Window), &ue_PySWindowType));
269+ PyObject *ret = PyObject_CallFunction (py_callable, (char *)" N " , py_ue_new_swidget<ue_PySWindow>(StaticCastSharedRef<SWidget>(Window), &ue_PySWindowType));
270270 if (!ret)
271271 {
272272 unreal_engine_py_log_error ();
@@ -319,7 +319,7 @@ void FPythonSlateDelegate::OnAssetDoubleClicked(const FAssetData& AssetData)
319319{
320320 FScopePythonGIL gil;
321321
322- PyObject *ret = PyObject_CallFunction (py_callable, (char *)" O " , py_ue_new_fassetdata (AssetData));
322+ PyObject *ret = PyObject_CallFunction (py_callable, (char *)" N " , py_ue_new_fassetdata (AssetData));
323323 if (!ret)
324324 {
325325 unreal_engine_py_log_error ();
@@ -331,7 +331,7 @@ void FPythonSlateDelegate::OnAssetSelected(const FAssetData& AssetData)
331331{
332332 FScopePythonGIL gil;
333333
334- PyObject *ret = PyObject_CallFunction (py_callable, (char *)" O " , py_ue_new_fassetdata (AssetData));
334+ PyObject *ret = PyObject_CallFunction (py_callable, (char *)" N " , py_ue_new_fassetdata (AssetData));
335335 if (!ret)
336336 {
337337 unreal_engine_py_log_error ();
@@ -343,7 +343,7 @@ void FPythonSlateDelegate::OnAssetChanged(const FAssetData& AssetData)
343343{
344344 FScopePythonGIL gil;
345345
346- PyObject *ret = PyObject_CallFunction (py_callable, (char *)" O " , py_ue_new_fassetdata (AssetData));
346+ PyObject *ret = PyObject_CallFunction (py_callable, (char *)" N " , py_ue_new_fassetdata (AssetData));
347347 if (!ret)
348348 {
349349 unreal_engine_py_log_error ();
@@ -355,7 +355,7 @@ bool FPythonSlateDelegate::OnShouldFilterAsset(const FAssetData& AssetData)
355355{
356356 FScopePythonGIL gil;
357357
358- PyObject *ret = PyObject_CallFunction (py_callable, (char *)" O " , py_ue_new_fassetdata (AssetData));
358+ PyObject *ret = PyObject_CallFunction (py_callable, (char *)" N " , py_ue_new_fassetdata (AssetData));
359359 if (!ret)
360360 {
361361 unreal_engine_py_log_error ();
@@ -407,7 +407,7 @@ void FPythonSlateDelegate::MenuPyAssetBuilder(FMenuBuilder &Builder, TArray<FAss
407407 PyList_Append (py_list, py_ue_new_fassetdata (asset));
408408 }
409409
410- PyObject *ret = PyObject_CallFunction (py_callable, (char *)" OO " , py_ue_new_fmenu_builder (Builder), py_list);
410+ PyObject *ret = PyObject_CallFunction (py_callable, (char *)" NO " , py_ue_new_fmenu_builder (Builder), py_list);
411411 if (!ret)
412412 {
413413 unreal_engine_py_log_error ();
@@ -1029,7 +1029,7 @@ class FPythonSlateCommands : public TCommands<FPythonSlateCommands>
10291029 void MenuPyBuilder (FMenuBuilder &Builder)
10301030 {
10311031 FScopePythonGIL gil;
1032- PyObject *ret = PyObject_CallFunction (py_callable, (char *)" O " , py_ue_new_fmenu_builder (Builder));
1032+ PyObject *ret = PyObject_CallFunction (py_callable, (char *)" N " , py_ue_new_fmenu_builder (Builder));
10331033 if (!ret)
10341034 {
10351035 unreal_engine_py_log_error ();
@@ -1047,7 +1047,7 @@ class FPythonSlateCommands : public TCommands<FPythonSlateCommands>
10471047 void ToolBarBuilder (FToolBarBuilder &Builder)
10481048 {
10491049 FScopePythonGIL gil;
1050- PyObject *ret = PyObject_CallFunction (py_callable, (char *)" O " , py_ue_new_ftool_bar_builder (Builder));
1050+ PyObject *ret = PyObject_CallFunction (py_callable, (char *)" N " , py_ue_new_ftool_bar_builder (Builder));
10511051 if (!ret)
10521052 {
10531053 unreal_engine_py_log_error ();
0 commit comments