aboutsummaryrefslogtreecommitdiffstats
path: root/headergenerator.cpp
diff options
context:
space:
mode:
authorHugo Lima <hugo.lima@openbossa.org>2010-02-18 17:18:33 -0200
committerHugo Lima <hugo.lima@openbossa.org>2010-02-18 18:01:47 -0200
commitc0fe3e41eec887bfdde8494d860f7d359e8219de (patch)
treef9f22c963c3149d9d7fc4b4464f01e483586b132 /headergenerator.cpp
parent589c2f447187e5071094648d5fe4046784ca28fd (diff)
Add some comments on the generated global header.
Diffstat (limited to 'headergenerator.cpp')
-rw-r--r--headergenerator.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/headergenerator.cpp b/headergenerator.cpp
index ea590a1e6..05d7cc2f7 100644
--- a/headergenerator.cpp
+++ b/headergenerator.cpp
@@ -239,8 +239,10 @@ void HeaderGenerator::finishGeneration()
s_pts << "SBK_"+moduleName()+"_IDX_COUNT";
s_pts.setFieldWidth(0);
s_pts << ' ' << idx << endl << endl;
+ s_pts << "// This variable stores all python types exported by this module" << endl;
s_pts << "extern PyTypeObject** " << cppApiVariableName() << ';' << endl << endl;
+ s_pts << "// Useful macros" << endl;
foreach (const AbstractMetaEnum* cppEnum, globalEnums()) {
QString incFile = cppEnum->includeFile().split(QDir::separator()).takeLast();
if (!incFile.isEmpty())