File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -89,6 +89,16 @@ a buffer, see :c:func:`PyObject_GetBuffer`.
8989
9090.. c :type :: Py_buffer
9191
92+ .. c :member :: void \*buf
93+
94+ A pointer to the start of the logical structure described by the buffer
95+ fields. This can be any location within the underlying physical memory
96+ block of the exporter. For example, with negative :c:member: `~Py_buffer.strides `
97+ the value may point to the end of the memory block.
98+
99+ For contiguous arrays, the value points to the beginning of the memory
100+ block.
101+
92102 .. c :member :: void \*obj
93103
94104 A new reference to the exporting object. The reference is owned by
@@ -101,16 +111,6 @@ a buffer, see :c:func:`PyObject_GetBuffer`.
101111 this field is *NULL *. In general, exporting objects MUST NOT
102112 use this scheme.
103113
104- .. c :member :: void \*buf
105-
106- A pointer to the start of the logical structure described by the buffer
107- fields. This can be any location within the underlying physical memory
108- block of the exporter. For example, with negative :c:member: `~Py_buffer.strides `
109- the value may point to the end of the memory block.
110-
111- For contiguous arrays, the value points to the beginning of the memory
112- block.
113-
114114 .. c :member :: Py_ssize_t len
115115
116116 ``product(shape) * itemsize ``. For contiguous arrays, this is the length
You can’t perform that action at this time.
0 commit comments