aboutsummaryrefslogtreecommitdiffstats
path: root/typesystem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'typesystem.cpp')
-rw-r--r--typesystem.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/typesystem.cpp b/typesystem.cpp
index 837a0e0d0..4f696c10c 100644
--- a/typesystem.cpp
+++ b/typesystem.cpp
@@ -2239,6 +2239,18 @@ QString ContainerTypeEntry::typeName() const
}
}
+uint qHash(const Include& inc)
+{
+ return qHash(inc.name);
+}
+
+QTextStream& operator<<(QTextStream& out, const Include& include)
+{
+ if (include.isValid())
+ out << include.toString() << endl;
+ return out;
+}
+
/*
static void injectCode(ComplexTypeEntry *e,
const char *signature,