mirror of
https://github.com/python/cpython.git
synced 2025-12-07 13:50:06 +00:00
* Make Py_{SIZE,IS_TYPE,SET_SIZE} regular functions in stable ABI
Group them together with Py_TYPE & Py_SET_TYPE to cut down
on repetitive preprocessor macros.
Format repetitive definitions in object.c more concisely.
Py_SET_TYPE is still left out of the Limited API.
2 lines
106 B
ReStructuredText
2 lines
106 B
ReStructuredText
Expose the functions :c:func:`Py_SIZE`, :c:func:`Py_IS_TYPE` and
|
|
:c:func:`Py_SET_SIZE` in the Stable ABI.
|