summaryrefslogtreecommitdiffstats
path: root/Include/memoryobject.h
diff options
context:
space:
mode:
Diffstat (limited to 'Include/memoryobject.h')
-rw-r--r--Include/memoryobject.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Include/memoryobject.h b/Include/memoryobject.h
index 4ac6f65..c2e1194 100644
--- a/Include/memoryobject.h
+++ b/Include/memoryobject.h
@@ -63,6 +63,7 @@ typedef struct {
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;
#endif