summaryrefslogtreecommitdiffstats
path: root/Python/pystrcmp.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2023-06-06 12:44:48 (GMT)
committerGitHub <noreply@github.com>2023-06-06 12:44:48 (GMT)
commitc7bf74bacd2b2db308e80e532153ffaf6dbca851 (patch)
treebff6836b63b54d70a62d1810ecfe9bd0000fdc83 /Python/pystrcmp.c
parent963099ebd9ada501d125fc5101ae42f55967a6e8 (diff)
downloadcpython-c7bf74bacd2b2db308e80e532153ffaf6dbca851.zip
cpython-c7bf74bacd2b2db308e80e532153ffaf6dbca851.tar.gz
cpython-c7bf74bacd2b2db308e80e532153ffaf6dbca851.tar.bz2
gh-105268: Add _Py_FROM_GC() function to pycore_gc.h (#105362)
* gcmodule.c reuses _Py_AS_GC(op) for AS_GC() * Move gcmodule.c FROM_GC() implementation to a new _Py_FROM_GC() static inline function in pycore_gc.h. * _PyObject_IS_GC(): only get the type once * gc_is_finalized(à) and PyObject_GC_IsFinalized() use _PyGC_FINALIZED(), instead of _PyGCHead_FINALIZED(). * Remove _Py_CAST() in pycore_gc.h: this header file is not built with C++.
Diffstat (limited to 'Python/pystrcmp.c')
0 files changed, 0 insertions, 0 deletions