[pypy-commit] pypy issue2444: Py_buffer: keep the same struct name as CPython

rlamy pypy.commits at gmail.com
Tue Dec 27 06:45:32 EST 2016


Author: Ronan Lamy <ronan.lamy at gmail.com>
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;


More information about the pypy-commit mailing list