From 5b38768acd0acfca2a0ec389e5da876c425071bd Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 28 Aug 2024 09:57:56 -0400 Subject: [PATCH] [BOT] update stable_abi.toml (#115) Co-authored-by: woodruffw <3059210+woodruffw@users.noreply.github.com> --- abi3info/_internal.py | 48 +++++++++++++++++++++++++++++++++++++++ codegen/stable_abi.sha256 | 2 +- codegen/stable_abi.toml | 18 ++++++++++++++- 3 files changed, 66 insertions(+), 2 deletions(-) diff --git a/abi3info/_internal.py b/abi3info/_internal.py index fc8ff3c..f17ca45 100644 --- a/abi3info/_internal.py +++ b/abi3info/_internal.py @@ -4671,6 +4671,54 @@ ifdef=None, abi_only=False, ), + Symbol(name="PyLong_FromInt32", visibility=None): Function( + symbol=Symbol(name="PyLong_FromInt32", visibility=None), + added=PyVersion(major=3, minor=14), + ifdef=None, + abi_only=False, + ), + Symbol(name="PyLong_FromUInt32", visibility=None): Function( + symbol=Symbol(name="PyLong_FromUInt32", visibility=None), + added=PyVersion(major=3, minor=14), + ifdef=None, + abi_only=False, + ), + Symbol(name="PyLong_AsInt32", visibility=None): Function( + symbol=Symbol(name="PyLong_AsInt32", visibility=None), + added=PyVersion(major=3, minor=14), + ifdef=None, + abi_only=False, + ), + Symbol(name="PyLong_AsUInt32", visibility=None): Function( + symbol=Symbol(name="PyLong_AsUInt32", visibility=None), + added=PyVersion(major=3, minor=14), + ifdef=None, + abi_only=False, + ), + Symbol(name="PyLong_FromInt64", visibility=None): Function( + symbol=Symbol(name="PyLong_FromInt64", visibility=None), + added=PyVersion(major=3, minor=14), + ifdef=None, + abi_only=False, + ), + Symbol(name="PyLong_FromUInt64", visibility=None): Function( + symbol=Symbol(name="PyLong_FromUInt64", visibility=None), + added=PyVersion(major=3, minor=14), + ifdef=None, + abi_only=False, + ), + Symbol(name="PyLong_AsInt64", visibility=None): Function( + symbol=Symbol(name="PyLong_AsInt64", visibility=None), + added=PyVersion(major=3, minor=14), + ifdef=None, + abi_only=False, + ), + Symbol(name="PyLong_AsUInt64", visibility=None): Function( + symbol=Symbol(name="PyLong_AsUInt64", visibility=None), + added=PyVersion(major=3, minor=14), + ifdef=None, + abi_only=False, + ), } _MACROS: Final[dict[str, Macro]] = { "Py_tp_dealloc": Macro(name="Py_tp_dealloc", added=PyVersion(major=3, minor=2)), diff --git a/codegen/stable_abi.sha256 b/codegen/stable_abi.sha256 index de0a9ef..7cfa3ed 100644 --- a/codegen/stable_abi.sha256 +++ b/codegen/stable_abi.sha256 @@ -1 +1 @@ -139e40d95473a05804fcdff7403c1b199c68ca20def8a6b9269b5834bedf22e1 \ No newline at end of file +936593d5b3ef90cd0811374ab850c83d6b147ce798351e2db0561edcf8826de6 \ No newline at end of file diff --git a/codegen/stable_abi.toml b/codegen/stable_abi.toml index c38671e..8bf638c 100644 --- a/codegen/stable_abi.toml +++ b/codegen/stable_abi.toml @@ -40,7 +40,7 @@ # - struct_abi_kind: for `struct`, defines how much of the struct is exposed: # - 'full-abi': All of the struct is part of the ABI, including the size # (users may define arrays of these structs). -# Typically used for initalization, rather than at runtime. +# Typically used for initialization, rather than at runtime. # - 'opaque': No members are part of the ABI, nor is the size. The Limited # API only handles these via pointers. The C definition should be # incomplete (opaque). @@ -2510,3 +2510,19 @@ added = '3.14' [function.PyIter_NextItem] added = '3.14' +[function.PyLong_FromInt32] + added = '3.14' +[function.PyLong_FromUInt32] + added = '3.14' +[function.PyLong_AsInt32] + added = '3.14' +[function.PyLong_AsUInt32] + added = '3.14' +[function.PyLong_FromInt64] + added = '3.14' +[function.PyLong_FromUInt64] + added = '3.14' +[function.PyLong_AsInt64] + added = '3.14' +[function.PyLong_AsUInt64] + added = '3.14'