diff options
author | Hugo Lima <hugo.lima@openbossa.org> | 2010-02-18 17:18:33 -0200 |
---|---|---|
committer | Hugo Lima <hugo.lima@openbossa.org> | 2010-02-18 18:01:47 -0200 |
commit | c0fe3e41eec887bfdde8494d860f7d359e8219de (patch) | |
tree | f9f22c963c3149d9d7fc4b4464f01e483586b132 /headergenerator.cpp | |
parent | 589c2f447187e5071094648d5fe4046784ca28fd (diff) |
Add some comments on the generated global header.
Diffstat (limited to 'headergenerator.cpp')
-rw-r--r-- | headergenerator.cpp | 2 |
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()) |