More pyvalue pointers

This commit is contained in:
Amun
2025-08-27 14:32:26 +03:00
parent 4385a2c709
commit f33d8fc183
3 changed files with 4 additions and 4 deletions

View File

@@ -282,7 +282,7 @@ PyObject * itemGetIconInstance(PyObject * poSelf, PyObject * poArgs)
CGraphicImageInstance * pImageInstance = CGraphicImageInstance::New();
pImageInstance->SetImagePointer(pImage);
return Py_BuildValue("i", pImageInstance);
return Py_BuildValue("K", pImageInstance);
}
PyObject * itemDeleteIconInstance(PyObject * poSelf, PyObject * poArgs)