diff options
| author | Victor Stinner <vstinner@python.org> | 2022-05-03 18:14:58 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-03 18:14:58 (GMT) |
| commit | 2eca5dad0a783153318e91e3e25f16a38a632bfd (patch) | |
| tree | 880d3aec57a1bfbefbdb28ff8ce03a16260a04f2 /Python/pythonrun.c | |
| parent | 415944379f9dae46e391315c9ccb17e45f9917da (diff) | |
| download | cpython-2eca5dad0a783153318e91e3e25f16a38a632bfd.zip cpython-2eca5dad0a783153318e91e3e25f16a38a632bfd.tar.gz cpython-2eca5dad0a783153318e91e3e25f16a38a632bfd.tar.bz2 | |
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.
Diffstat (limited to 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions
