Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 04e006c + fb4defe commit 4501fafCopy full SHA for 4501faf
1 file changed
src/_backend_gdk.c
@@ -7,6 +7,11 @@
7
8
#include <pygtk/pygtk.h>
9
10
+// support numpy 1.6 - this macro was renamed and deprecated at once in 1.7
11
+#ifndef NPY_ARRAY_WRITEABLE
12
+#define NPY_ARRAY_WRITEABLE NPY_WRITEABLE
13
+#endif
14
+
15
static PyTypeObject *_PyGdkPixbuf_Type;
16
#define PyGdkPixbuf_Type (*_PyGdkPixbuf_Type)
17
0 commit comments