mirror of
https://github.com/python/cpython.git
synced 2025-10-09 08:31:26 +00:00
gh-108444: Add PyLong_AsInt() public function (#108445)
* Rename _PyLong_AsInt() to PyLong_AsInt(). * Add documentation. * Add test. * For now, keep _PyLong_AsInt() as an alias to PyLong_AsInt().
This commit is contained in:
parent
feb9a49c9c
commit
be436e08b8
13 changed files with 96 additions and 3 deletions
1
PC/python3dll.c
generated
1
PC/python3dll.c
generated
|
@ -331,6 +331,7 @@ EXPORT_FUNC(PyList_SetSlice)
|
|||
EXPORT_FUNC(PyList_Size)
|
||||
EXPORT_FUNC(PyList_Sort)
|
||||
EXPORT_FUNC(PyLong_AsDouble)
|
||||
EXPORT_FUNC(PyLong_AsInt)
|
||||
EXPORT_FUNC(PyLong_AsLong)
|
||||
EXPORT_FUNC(PyLong_AsLongAndOverflow)
|
||||
EXPORT_FUNC(PyLong_AsLongLong)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue