diff options
| -rw-r--r-- | sources/pyside6/doc/developer/limited_api.rst | 19 | ||||
| -rw-r--r-- | sources/shiboken6/libshiboken/pep384impl.h | 30 |
2 files changed, 0 insertions, 49 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 ~~~~~~~~~~~~ diff --git a/sources/shiboken6/libshiboken/pep384impl.h b/sources/shiboken6/libshiboken/pep384impl.h index 499491f6d..dd4b66ecc 100644 --- a/sources/shiboken6/libshiboken/pep384impl.h +++ b/sources/shiboken6/libshiboken/pep384impl.h @@ -267,36 +267,6 @@ enum PepUnicode_Kind { /***************************************************************************** * - * RESOLVED: bytesobject.h - * - */ -#ifdef Py_LIMITED_API -#define PyBytes_AS_STRING(op) PyBytes_AsString(op) -#define PyBytes_GET_SIZE(op) PyBytes_Size(op) -#endif - -/***************************************************************************** - * - * RESOLVED: floatobject.h - * - */ -#ifdef Py_LIMITED_API -#define PyFloat_AS_DOUBLE(op) PyFloat_AsDouble(op) -#endif - -/***************************************************************************** - * - * RESOLVED: tupleobject.h - * - */ -#ifdef Py_LIMITED_API -#define PyTuple_GET_ITEM(op, i) PyTuple_GetItem((PyObject *)op, i) -#define PyTuple_SET_ITEM(op, i, v) PyTuple_SetItem(op, i, v) -#define PyTuple_GET_SIZE(op) PyTuple_Size((PyObject *)op) -#endif - -/***************************************************************************** - * * RESOLVED: methodobject.h * */ |
