Changeset 846 for trunk/src/corelib/global/qendian.h
- Timestamp:
- May 5, 2011, 5:36:53 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk
- Property svn:mergeinfo changed
/branches/vendor/nokia/qt/4.7.2 (added) merged: 845 /branches/vendor/nokia/qt/current merged: 844 /branches/vendor/nokia/qt/4.6.3 removed
- Property svn:mergeinfo changed
-
trunk/src/corelib/global/qendian.h
r651 r846 1 1 /**************************************************************************** 2 2 ** 3 ** Copyright (C) 201 0Nokia Corporation and/or its subsidiary(-ies).3 ** Copyright (C) 201 Nokia Corporation and/or its subsidiary(-ies). 4 4 ** All rights reserved. 5 5 ** Contact: Nokia Corporation ([email protected]) … … 44 44 45 45 #include <QtCore/qglobal.h> 46 47 48 49 50 51 52 46 53 47 54 QT_BEGIN_HEADER … … 265 272 */ 266 273 template <typename T> T qbswap(T source); 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 267 289 template <> inline quint64 qbswap<quint64>(quint64 source) 268 290 { … … 293 315 | ((source & 0xff00) >> 8) ); 294 316 } 317 295 318 296 319 // signed specializations
Note:
See TracChangeset
for help on using the changeset viewer.