diff qt/QGlobal.d @ 39:a5cba313c924

network and webkit are wrapped now
author eldar
date Sun, 17 May 2009 01:44:06 +0000
parents e78566595089
children 136c9ee83ee5
line wrap: on
line diff
--- a/qt/QGlobal.d	Sat May 16 21:34:54 2009 +0000
+++ b/qt/QGlobal.d	Sun May 17 01:44:06 2009 +0000
@@ -75,6 +75,17 @@
 alias long qint64;            /* 64 bit signed */
 alias ulong quint64;  /* 64 bit unsigned */
 
+version (X86)
+{
+    alias quint32 quintptr;
+    alias qint32 qptrdiff;
+}
+else version (X86_64)
+{
+    alias quint64 quintptr;
+    alias qint64 qptrdiff;
+}
+
 const byte QT_POINTER_SIZE = 8;
 
 alias int QNoImplicitBoolCast;