From 5aad7c88f59d07e13cd7303c4ad71d5d294393fd Mon Sep 17 00:00:00 2001 From: d1str4ught <> Date: Wed, 27 Aug 2025 14:35:56 +0200 Subject: [PATCH] PyTuple_GetPointer fixed --- src/ScriptLib/PythonUtils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ScriptLib/PythonUtils.h b/src/ScriptLib/PythonUtils.h index cbd32ca..0e6b21e 100644 --- a/src/ScriptLib/PythonUtils.h +++ b/src/ScriptLib/PythonUtils.h @@ -19,7 +19,7 @@ bool PyTuple_GetBoolean(PyObject* poArgs, int pos, bool* ret); template bool PyTuple_GetPointer(PyObject* poArgs, int pos, T** ret) { - return PyTuple_GetUnsignedLongLong(poArgs, pos, (unsigned long long*)*ret); + return PyTuple_GetUnsignedLongLong(poArgs, pos, (unsigned long long*)ret); } bool PyCallClassMemberFunc(PyObject* poClass, const char* c_szFunc, PyObject* poArgs);