mirror of
https://github.com/python/cpython.git
synced 2025-11-25 04:34:37 +00:00
bpo-35134: Add Include/cpython/longobject.h (GH-29044)
Move Include/longobject.h non-limited API to a new Include/cpython/longobject.h header file. Move the following definitions to the internal C API: * _PyLong_DigitValue * _PyLong_FormatAdvancedWriter() * _PyLong_FormatWriter()
This commit is contained in:
parent
aad88d33d9
commit
5f09bb021a
11 changed files with 135 additions and 132 deletions
|
|
@ -56,6 +56,7 @@
|
|||
#define PY_SSIZE_T_CLEAN
|
||||
|
||||
#include "Python.h"
|
||||
#include "pycore_long.h" // _PyLong_DigitValue
|
||||
#include "pycore_strhex.h" // _Py_strhex_bytes_with_sep()
|
||||
#ifdef USE_ZLIB_CRC32
|
||||
# include "zlib.h"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue