forked from python/cpython
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit f4fe65e
authored
pythongh-111178: Avoid calling functions from incompatible pointer types in memoryobject.c (pythonGH-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 destructor1 parent 27a5fd8 commit f4fe65eCopy full SHA for f4fe65e
File tree
Expand file treeCollapse file tree
1 file changed
+90
-61
lines changedFilter options
- Objects
Expand file treeCollapse file tree
1 file changed
+90
-61
lines changed
0 commit comments