diff options
author | Marc Mutz <marc.mutz@qt.io> | 2023-09-12 23:45:39 +0200 |
---|---|---|
committer | Marc Mutz <marc.mutz@qt.io> | 2023-09-13 09:18:40 +0200 |
commit | 454636afec1be8d4483b65ae564487eca9734ffd (patch) | |
tree | bd998411f5cc4696361e565db75766799c6e2048 | |
parent | 32f66f7008ce8fff1a8cdc5219978d1a61d4684c (diff) |
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>
-rw-r--r-- | src/corelib/global/qtypes.cpp | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/corelib/global/qtypes.cpp b/src/corelib/global/qtypes.cpp index 136766eba6..7d34f038f2 100644 --- a/src/corelib/global/qtypes.cpp +++ b/src/corelib/global/qtypes.cpp @@ -145,6 +145,39 @@ QT_BEGIN_NAMESPACE */ /*! + \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> |