diff options
author | Raymond Hettinger <python@rcn.com> | 2015-01-30 06:02:17 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2015-01-30 06:02:17 (GMT) |
commit | 91496a08d4cb0b185fed53692cd9f36c76de9725 (patch) | |
tree | fd54565fa983af81617e85c276a92ca768a79240 /Include | |
parent | c5644126a2906c61bb40cc6d3186060c358de734 (diff) | |
parent | 6ef0285aec5bd4c6252d975dceeac1201bcc181d (diff) | |
download | cpython-91496a08d4cb0b185fed53692cd9f36c76de9725.zip cpython-91496a08d4cb0b185fed53692cd9f36c76de9725.tar.gz cpython-91496a08d4cb0b185fed53692cd9f36c76de9725.tar.bz2 |
merge
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; |