We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 045b282 commit a17e9dbCopy full SHA for a17e9db
1 file changed
src/_fastdss.c
@@ -11,10 +11,16 @@
11
// #define Py_LIMITED_API 0x03070000
12
#include <string.h>
13
#include <Python.h>
14
+#include <structmember.h>
15
#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION
16
#include "numpy/ndarrayobject.h"
17
#include "dss_capi_ctx.h"
18
19
+#ifndef Py_T_OBJECT_EX
20
+// For older Python releases
21
+#define Py_T_OBJECT_EX T_OBJECT
22
+#endif
23
+
24
// #ifndef PyList_SET_ITEM
25
// #define PyList_SET_ITEM PyList_SetItem
26
// #endif
0 commit comments