Fix return type of test helper function heapctypewithbuffer_releasebuffer() (GH-20685)

This commit is contained in:
Rémi Lapeyre 2020-06-07 09:05:33 +02:00 committed by GitHub
parent 0e96c419d7
commit b8867e5d5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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);