summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Tanner <trtanner@btinternet.com>2015-11-12 21:48:40 +0000
committerThomas Tanner <trtanner@btinternet.com>2015-11-12 21:48:40 +0000
commitd1932bfc8ec190db2ac8878f32e77ea45e897a02 (patch)
tree7592704de183a8a2734c5124ea6cbc38a5ecf62a
parenta284cbf232f34cc1a83b85ec45baafc1ce6518ec (diff)
Better header matching
-rw-r--r--qt5_4.imp2
-rw-r--r--win.imp5
2 files changed, 4 insertions, 3 deletions
diff --git a/qt5_4.imp b/qt5_4.imp
index 5d75fd9e..0c688042 100644
--- a/qt5_4.imp
+++ b/qt5_4.imp
@@ -2464,6 +2464,7 @@
{ include: [ "@\"(QtCore/)?qnamespace\\.h\"", "private", "<Qt>", "public" ] },
{ include: [ "@\"(QtCore/)?qlogging\\.h\"", "private", "<QtDebug>", "public" ] }, #qDebug, qWarning, etc
{ include: [ "@\"(QtCore/)?qalgorithms\\.h\"", "private", "<QAlgorithms>", "public" ] }, #qSort, etc
+ { include: [ "@\"(QtWinExtras/)?qwinfunctions\\.h\"", "private", "<QtWin>", "public" ] }, // for fromHICON
# These ones are just madness. For instance, why with the above do we get
# #include "QtCore/qcoreevent.h" // for QEvent (ptr only), etc
@@ -2473,6 +2474,5 @@
#include "QtCore/qtypetraits.h" // for remove_reference<>::type
#include "QtCore/qsharedpointer_impl.h" // for swap
#include "QtCore/qatomic_msvc.h"
-#include "qwinfunctions.h" // for fromHICON
]
diff --git a/win.imp b/win.imp
index 90e8e69c..cbecdc43 100644
--- a/win.imp
+++ b/win.imp
@@ -9,9 +9,10 @@
{ include: [ "<sys/stat.inl>", "private", "<sys/stat.h>", "public" ] },
# Windows
-# Looks like the doucmentation says the 1st char is u/c the rest are l/c
+# Looks like the documentation says the 1st char is u/c the rest are l/c
+
# You have to be kidding me. ULONG is defined in winsmcrd.h?
- { symbol: [ "ULONG", "private", "<windef.h>", "private" ] },
+ { symbol: [ "ULONG", "private", "<windef.h>", "private" ] },
{ include: [ "<winnls.h>", "private", "<stringapiset.h>", "private" ] }, # Stringapiset.h
{ include: [ "<stringapiset.h>", "private", "<Windows.h>", "public" ] },