|
|
|
@ -1,4 +1,5 @@
@@ -1,4 +1,5 @@
|
|
|
|
|
#include "../Tests.h" |
|
|
|
|
#include <cstdint> |
|
|
|
|
|
|
|
|
|
class DLL_API Foo |
|
|
|
|
{ |
|
|
|
@ -392,5 +393,13 @@ public:
@@ -392,5 +393,13 @@ public:
|
|
|
|
|
friend class QMap<Key, T>; |
|
|
|
|
}; |
|
|
|
|
friend class const_iterator; |
|
|
|
|
}; |
|
|
|
|
|
|
|
|
|
}; |
|
|
|
|
#define Q_PROCESSOR_WORDSIZE 8 |
|
|
|
|
template <int> struct QIntegerForSize; |
|
|
|
|
template <> struct QIntegerForSize<1> { typedef uint8_t Unsigned; typedef int8_t Signed; }; |
|
|
|
|
template <> struct QIntegerForSize<2> { typedef uint16_t Unsigned; typedef int16_t Signed; }; |
|
|
|
|
template <> struct QIntegerForSize<4> { typedef uint32_t Unsigned; typedef int32_t Signed; }; |
|
|
|
|
template <> struct QIntegerForSize<8> { typedef uint64_t Unsigned; typedef int64_t Signed; }; |
|
|
|
|
typedef QIntegerForSize<Q_PROCESSOR_WORDSIZE>::Signed qregisterint; |
|
|
|
|
typedef QIntegerForSize<Q_PROCESSOR_WORDSIZE>::Unsigned qregisteruint; |
|
|
|
|