aboutsummaryrefslogtreecommitdiffstats
path: root/sources/pyside6/doc/developer
diff options
context:
space:
mode:
authorCristián Maureira-Fredes <[email protected]>2024-11-13 14:45:33 +0100
committerCristián Maureira-Fredes <[email protected]>2024-11-20 14:29:41 +0100
commit5b51fb868f3c9a0550ef1ec688d1e6c77cc9e796 (patch)
treefdd7d8337a1122bc11034794c0a8744ee6aeb41f /sources/pyside6/doc/developer
parent6132d3914dc89ab76c64755441386ab9927f5e27 (diff)
limited api: remove macro declaration from header
This is a continuation of the previous patches that were replacing the usage of macros for: lists, tuple, bytes, and float in the code, by the equivalent functions. [ChangeLog][PySide6] For the limited api builds (wheels) PySide had in place aliases from Python macros to their function equivalent. This is now removed, in favor of using the functions directly. Change-Id: I838bebac80067e3094b2a0dfadd1614f9644f7ca Reviewed-by: Friedemann Kleint <[email protected]>
Diffstat (limited to 'sources/pyside6/doc/developer')
-rw-r--r--sources/pyside6/doc/developer/limited_api.rst19
1 files changed, 0 insertions, 19 deletions
diff --git a/sources/pyside6/doc/developer/limited_api.rst b/sources/pyside6/doc/developer/limited_api.rst
index a346c1a86..a32b73fe2 100644
--- a/sources/pyside6/doc/developer/limited_api.rst
+++ b/sources/pyside6/doc/developer/limited_api.rst
@@ -71,25 +71,6 @@ that calls ``_PepUnicode_AsString``. The implementation was a bit involved,
and it would be better to change the code and replace this function.
-bytesobject.h
-~~~~~~~~~~~~~
-
-The macros ``PyBytes_AS_STRING`` and ``PyBytes_GET_SIZE`` were redefined to call
-the according functions.
-
-
-floatobject.h
-~~~~~~~~~~~~~
-
-``PyFloat_AS_DOUBLE`` now calls ``PyFloat_AsDouble``.
-
-
-tupleobject.h
-~~~~~~~~~~~~~
-
-``PyTuple_GET_ITEM``, ``PyTuple_SET_ITEM`` and ``PyTuple_GET_SIZE`` were redefined as
-function calls.
-
dictobject.h
~~~~~~~~~~~~