]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-111178: Avoid calling functions from incompatible pointer types in memoryobject...
authorChristopher Chavez <chrischavez@gmx.us>
Mon, 11 Dec 2023 16:43:07 +0000 (10:43 -0600)
committerGitHub <noreply@github.com>
Mon, 11 Dec 2023 16:43:07 +0000 (17:43 +0100)
commitf4fe65e2dd7eda33c098c8af3a1974c5f7f11ab7
tree11f9df706c59faa7b11cc4f1b78925bcf8daabb2
parent27a5fd8cb8c88537216d7a498eba9d9177951d76
gh-111178: Avoid calling functions from incompatible pointer types in memoryobject.c (GH-112863)

* Make memory_clear() compatible with inquiry
* Make memory_traverse() compatible with traverseproc
* Make memory_dealloc() compatible with destructor
* Make memory_repr() compatible with reprfunc
* Make memory_hash() compatible with hashfunc
* Make memoryiter_next() compatible with iternextfunc
* Make memoryiter_traverse() compatible with traverseproc
* Make memoryiter_dealloc() compatible with destructor
* Make several functions compatible with getter
* Make a few functions compatible with getter
* Make memory_item() compatible with ssizeargfunc
* Make memory_subscript() compatible with binaryfunc
* Make memory_length() compatible with lenfunc
* Make memory_ass_sub() compatible with objobjargproc
* Make memory_releasebuf() compatible with releasebufferproc
* Make memory_getbuf() compatible with getbufferproc
* Make mbuf_clear() compatible with inquiry
* Make mbuf_traverse() compatible with traverseproc
* Make mbuf_dealloc() compatible with destructor
Objects/memoryobject.c