diff options
author | Victor Stinner <vstinner@python.org> | 2023-08-26 00:24:27 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-26 00:24:27 (GMT) |
commit | 713afb8804666405f29115cf459b591308e3ab54 (patch) | |
tree | db6bdfbbf19f1b222c4d6a6e027efd6a4202e96c /PC | |
parent | 86bc9e35c4aaf3bcc045ddd998844ffb64fec3a2 (diff) | |
download | cpython-713afb8804666405f29115cf459b591308e3ab54.zip cpython-713afb8804666405f29115cf459b591308e3ab54.tar.gz cpython-713afb8804666405f29115cf459b591308e3ab54.tar.bz2 |
gh-106320: Remove private _PyLong converter functions (#108499)
Move these private functions to the internal C API (pycore_long.h):
* _PyLong_UnsignedInt_Converter()
* _PyLong_UnsignedLongLong_Converter()
* _PyLong_UnsignedLong_Converter()
* _PyLong_UnsignedShort_Converter()
Argument Clinic now emits #include "pycore_long.h" when these
functions are used.
Diffstat (limited to 'PC')
-rw-r--r-- | PC/clinic/winreg.c.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/PC/clinic/winreg.c.h b/PC/clinic/winreg.c.h index a7401b9..8cb8749 100644 --- a/PC/clinic/winreg.c.h +++ b/PC/clinic/winreg.c.h @@ -7,6 +7,7 @@ preserve # include "pycore_runtime.h" // _Py_ID() #endif +#include "pycore_long.h" // _PyLong_UnsignedLong_Converter() #if (defined(MS_WINDOWS_DESKTOP) || defined(MS_WINDOWS_SYSTEM) || defined(MS_WINDOWS_GAMES)) @@ -1788,4 +1789,4 @@ exit: #ifndef WINREG_QUERYREFLECTIONKEY_METHODDEF #define WINREG_QUERYREFLECTIONKEY_METHODDEF #endif /* !defined(WINREG_QUERYREFLECTIONKEY_METHODDEF) */ -/*[clinic end generated code: output=4d0ec3e43e1b28f4 input=a9049054013a1b77]*/ +/*[clinic end generated code: output=00343ee8da923da8 input=a9049054013a1b77]*/ |