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.
#ifdef
PyBytes_RESIZE
1 parent 169db1b commit b8cbb46Copy full SHA for b8cbb46
docs/release.rst
@@ -32,6 +32,9 @@ Fixes
32
* Fix ``const`` discard warnings in ``fletcher32``.
33
By :user:`John Kirkham <jakirkham>`, :issue:`728`
34
35
+* Add ``#ifdef`` guard around ``PyBytes_RESIZE``.
36
+ By :user:`John Kirkham <jakirkham>`, :issue:`731`
37
+
38
Maintenance
39
~~~~~~~~~~~
40
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