Fix return type of test helper function heapctypewithbuffer_releasebuffer() (GH-20685)
This commit is contained in:
parent
0e96c419d7
commit
b8867e5d5a
|
@ -6318,7 +6318,7 @@ heapctypewithbuffer_getbuffer(HeapCTypeWithBufferObject *self, Py_buffer *view,
|
|||
view, (PyObject*)self, (void *)self->buffer, 4, 1, flags);
|
||||
}
|
||||
|
||||
static int
|
||||
static void
|
||||
heapctypewithbuffer_releasebuffer(HeapCTypeWithBufferObject *self, Py_buffer *view)
|
||||
{
|
||||
assert(view->obj == (void*) self);
|
||||
|
|
Loading…
Reference in New Issue