mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +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
|
@ -3,7 +3,8 @@
|
|||
of int.__float__, etc., that take and return unicode objects */
|
||||
|
||||
#include "Python.h"
|
||||
#include "pycore_fileutils.h"
|
||||
#include "pycore_fileutils.h" // _Py_GetLocaleconvNumeric()
|
||||
#include "pycore_long.h" // _PyLong_FormatWriter()
|
||||
#include <locale.h>
|
||||
|
||||
/* Raises an exception about an unknown presentation type for this
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
#include "Python.h"
|
||||
#include "pycore_long.h" // _PyLong_DigitValue
|
||||
|
||||
#if defined(__sgi) && !defined(_SGI_MP_SOURCE)
|
||||
#define _SGI_MP_SOURCE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue