Skip to content

Commit 15356b1

Browse files
committed
Declare dummy macros for XINCREF/XDECREF as well
1 parent b4d807a commit 15356b1

File tree

1 file changed

+4
-0
lines changed
  • graalpython/com.oracle.graal.python.cext/include

1 file changed

+4
-0
lines changed

graalpython/com.oracle.graal.python.cext/include/Python.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,10 @@
129129
#define Py_DECREF(o) 0
130130
#undef Py_INCREF
131131
#define Py_INCREF(o) 0
132+
#undef Py_XINCREF
133+
#define Py_XINCREF(o) 0
134+
#undef Py_XDECREF
135+
#define Py_XDECREF(o) 0
132136

133137
/*
134138
* #define Py_INCREF(op) ( \

0 commit comments

Comments
 (0)