Author: Ronan Lamy <[email protected]>
Branch: issue2444
Changeset: r89244:bb8de55c4722
Date: 2016-12-27 12:44 +0100
http://bitbucket.org/pypy/pypy/changeset/bb8de55c4722/
Log: Py_buffer: keep the same struct name as CPython
diff --git a/pypy/module/cpyext/include/object.h
b/pypy/module/cpyext/include/object.h
--- a/pypy/module/cpyext/include/object.h
+++ b/pypy/module/cpyext/include/object.h
@@ -145,7 +145,7 @@
/* Py3k buffer interface, adapted for PyPy */
#define Py_MAX_NDIMS 32
#define Py_MAX_FMT 128
-typedef struct Py_buffer {
+typedef struct bufferinfo {
void *buf;
PyObject *obj; /* owned reference */
Py_ssize_t len;
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit