aboutsummaryrefslogtreecommitdiffstats
path: root/headergenerator.h
diff options
context:
space:
mode:
authorHugo Lima <hugo.lima@openbossa.org>2009-12-07 15:13:36 -0200
committerHugo Lima <hugo.lima@openbossa.org>2009-12-07 17:10:30 -0200
commitc1c196a2338d3529c2ec71cc6e375ef64e926689 (patch)
tree0f5356460c41c7a086eaa56b2f2582defe0fd876 /headergenerator.h
parent0e532bfaf3d4eb710aa5999764942337b9342304 (diff)
Do not generate the method Converter<T>::createWrapper, it'll be
auto generated by the compiler using the function PyType<T> to get PyTypeObject of a type T. Reviewed by Marcelo Lira <marcelo.lira@openbossa.org>
Diffstat (limited to 'headergenerator.h')
-rw-r--r--headergenerator.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/headergenerator.h b/headergenerator.h
index 5b26eae2d..7b337e1ae 100644
--- a/headergenerator.h
+++ b/headergenerator.h
@@ -44,6 +44,8 @@ private:
void writeTypeCheckMacro(QTextStream& s, const TypeEntry* type);
void writeExportMacros(QTextStream& s);
void writeTypeConverterDecl(QTextStream& s, const TypeEntry* type);
+ void writePyTypeFunction(QTextStream& s, const AbstractMetaEnum* cppEnum);
+ void writePyTypeFunction(QTextStream& s, const AbstractMetaClass* cppClass);
};
#endif // HEADERGENERATOR_H