qt5base-lts/tests/auto/corelib/global
João Abecasis fe778b94bd Enable endianness conversions on q(u)int8
Lack of support for these types is not a real issue as endian
conversions on byte-sized types are no-ops. Still, the conversions are
useful as they facilitate writing of generic code. They can also be used
explicitly as a way to document in code an endian-specific binary
format:

     uchar *data;
     quint8 tag = qFromLittleEndian<quint8>(data++);
     quint32 size = qFromLittleEndian<quint32>(data);

This commit also adds a test for functions documented in the QtEndian
header.

Change-Id: I2f6c876ce89d2adb8c03a1c8a25921d225bf6f92
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2012-03-25 13:12:24 +02:00
..
q_func_info Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qflags QFlags: mark as Q_PRIMITIVE_TYPE 2012-02-29 23:36:47 +01:00
qgetputenv Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qglobal Fallback implementation of Q_ALIGNOF 2012-03-23 19:43:00 +01:00
qlogging Changed qlogging unittest to install subprogram 2012-03-01 05:43:15 +01:00
qnumeric Eliminate duplicate data row names from corelib autotests. 2012-02-14 06:19:16 +01:00
qrand Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qtendian Enable endianness conversions on q(u)int8 2012-03-25 13:12:24 +02:00
global.pro Enable endianness conversions on q(u)int8 2012-03-25 13:12:24 +02:00