summaryrefslogtreecommitdiffstats
path: root/generator/headergenerator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'generator/headergenerator.cpp')
-rw-r--r--generator/headergenerator.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/generator/headergenerator.cpp b/generator/headergenerator.cpp
index 2b32138f..f98931e3 100644
--- a/generator/headergenerator.cpp
+++ b/generator/headergenerator.cpp
@@ -376,6 +376,20 @@ void HeaderGenerator::finishGeneration()
_writeTypeIndexDefineLine(macrosStream, getTypeIndexVariableName(ptype), pCount);
pCount++;
}
+
+ foreach (const AbstractMetaType* container, instantiatedContainers()) {
+ //_writeTypeIndexDefineLine(macrosStream, getTypeIndexVariableName(container), pCount);
+ // DEBUG
+ QString variableName = getTypeIndexVariableName(container);
+ macrosStream << "#define ";
+ macrosStream.setFieldWidth(60);
+ macrosStream << variableName;
+ macrosStream.setFieldWidth(0);
+ macrosStream << ' ' << pCount << " // " << container->cppSignature() << endl;
+ // DEBUG
+ pCount++;
+ }
+
// Because on win32 the compiler will not accept a zero length array.
if (pCount == 0)
pCount++;