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.
#ifndef
PyBytes_RESIZE
1 parent 933d901 commit 58bc9c4Copy full SHA for 58bc9c4
docs/release.rst
@@ -35,6 +35,9 @@ Fixes
35
* Update ``license*`` metadata and include third-party licenses.
36
By :user:`John Kirkham <jakirkham>`, :issue:`729`
37
38
+* Add ``#ifndef`` guard around ``PyBytes_RESIZE``.
39
+ By :user:`John Kirkham <jakirkham>`, :issue:`732`
40
+
41
Maintenance
42
~~~~~~~~~~~
43
numcodecs/compat_ext.pxd
@@ -3,7 +3,9 @@
3
4
cdef extern from *:
5
"""
6
+ #ifndef PyBytes_RESIZE
7
#define PyBytes_RESIZE(b, n) _PyBytes_Resize(&b, n)
8
+ #endif
9
10
int PyBytes_RESIZE(object b, Py_ssize_t n) except -1
11
0 commit comments