diff options
author | Stefan Krah <skrah@bytereef.org> | 2015-01-29 13:29:51 (GMT) |
---|---|---|
committer | Stefan Krah <skrah@bytereef.org> | 2015-01-29 13:29:51 (GMT) |
commit | f5324d7074d17b026ecd5ef7d7fc16f5e71b0db2 (patch) | |
tree | 0b5d602bf7d5372ed54df211b3ebc31b21f59653 /Include | |
parent | 6d14405fdb9357b689d76dcfd230018c0ce8c3a8 (diff) | |
parent | fa5d6a5ff3ca247d9c2eaf51853ff39c98c09f4a (diff) | |
download | cpython-f5324d7074d17b026ecd5ef7d7fc16f5e71b0db2.zip cpython-f5324d7074d17b026ecd5ef7d7fc16f5e71b0db2.tar.gz cpython-f5324d7074d17b026ecd5ef7d7fc16f5e71b0db2.tar.bz2 |
Closes #22668: Merge from 3.4.
Diffstat (limited to 'Include')
-rw-r--r-- | Include/memoryobject.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/Include/memoryobject.h b/Include/memoryobject.h index c2e1194..ab5ee09 100644 --- a/Include/memoryobject.h +++ b/Include/memoryobject.h @@ -45,9 +45,6 @@ typedef struct { } _PyManagedBufferObject; -/* static storage used for casting between formats */ -#define _Py_MEMORYVIEW_MAX_FORMAT 3 /* must be >= 3 */ - /* memoryview state flags */ #define _Py_MEMORYVIEW_RELEASED 0x001 /* access to master buffer blocked */ #define _Py_MEMORYVIEW_C 0x002 /* C-contiguous layout */ @@ -62,7 +59,6 @@ typedef struct { int flags; /* state flags */ Py_ssize_t exports; /* number of buffer re-exports */ Py_buffer view; /* private copy of the exporter's view */ - char format[_Py_MEMORYVIEW_MAX_FORMAT]; /* used for casting */ PyObject *weakreflist; Py_ssize_t ob_array[1]; /* shape, strides, suboffsets */ } PyMemoryViewObject; |