-
- Downloads
gh-89653: PEP 670: Convert PyBytes macros to functions (#91990)
Convert the following macros to static inline functions: * PyByteArray_AS_STRING() * PyByteArray_GET_SIZE() * PyBytes_AS_STRING() * PyBytes_GET_SIZE() Limited C API version 3.11 no longer casts arguments. Add _PyBytes_CAST() and _PyByteArray_CAST() macros.
Showing
- Doc/c-api/bytearray.rst 2 additions, 2 deletionsDoc/c-api/bytearray.rst
- Doc/c-api/bytes.rst 2 additions, 2 deletionsDoc/c-api/bytes.rst
- Include/cpython/bytearrayobject.h 24 additions, 6 deletionsInclude/cpython/bytearrayobject.h
- Include/cpython/bytesobject.h 19 additions, 4 deletionsInclude/cpython/bytesobject.h
Loading
Please register or sign in to comment