Document q(u)int128 and QT_SUPPORTS_INT128

[ChangeLog][QtCore] Added qint128 and quint128 typedefs on platforms
that support them.

Pick-to: 6.6
Fixes: QTBUG-116925
Change-Id: Ibd55cb0b1931b48a91598d3165e5911e3a4079f2
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
This commit is contained in:
Marc Mutz 2023-09-12 23:45:39 +02:00
parent 32f66f7008
commit 454636afec

View File

@ -144,6 +144,39 @@ QT_BEGIN_NAMESPACE
\sa Q_UINT64_C(), qint64, qulonglong
*/
/*!
\typedef qint128
\relates <QtTypes>
\since 6.6
Typedef for \c{__int128} on platforms that support it (Qt defines the macro
\l QT_SUPPORTS_INT128 if this is the case).
\sa quint128, QT_SUPPORTS_INT128
*/
/*!
\typedef quint128
\relates <QtTypes>
\since 6.6
Typedef for \c{unsigned __int128} on platforms that support it (Qt defines
the macro \l QT_SUPPORTS_INT128 if this is the case).
\sa qint128, QT_SUPPORTS_INT128
*/
/*!
\macro QT_SUPPORTS_INT128
\relates <QtTypes>
\since 6.6
Qt defines this macro as well as the \l qint128 and \l quint128 types if
the platform has support for 128-bit integer types.
\sa qint128, quint128
*/
/*!
\typedef qintptr
\relates <QtTypes>