Skip to content

Commit

Permalink
TypeTreeHelper.cpp - fix obj head versioned macro
Browse files Browse the repository at this point in the history
  • Loading branch information
K0lb3 committed Oct 22, 2024
1 parent 6cc7646 commit 98da515
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions UnityPyBoost/TypeTreeHelper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1201,9 +1201,9 @@ static PyTypeObject TypeTreeNodeType = []() -> PyTypeObject
{
PyTypeObject type = {
#if PY_VERSION_HEX >= 0x03080000
PyObject_HEAD_INIT(NULL) 0
PyVarObject_HEAD_INIT(NULL, 0)
#else
PyVarObject_HEAD_INIT(NULL, 0)
PyObject_HEAD_INIT(NULL) 0
#endif
};
type.tp_name = "TypeTreeHelper.TypeTreeNode";
Expand Down

0 comments on commit 98da515

Please sign in to comment.