diff options
author | Hugo Lima <hugo.lima@openbossa.org> | 2010-02-18 17:20:18 -0200 |
---|---|---|
committer | Hugo Lima <hugo.lima@openbossa.org> | 2010-02-18 18:01:47 -0200 |
commit | b656da109ac75d18854c37b7d1d732addb1e9612 (patch) | |
tree | b8b8faf9302535e4577edd8a6742fe9fc46e454e /headergenerator.cpp | |
parent | c0fe3e41eec887bfdde8494d860f7d359e8219de (diff) |
User definied converters are written outside Shiboken namespace.
Diffstat (limited to 'headergenerator.cpp')
-rw-r--r-- | headergenerator.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/headergenerator.cpp b/headergenerator.cpp index 05d7cc2f7..d961b1c51 100644 --- a/headergenerator.cpp +++ b/headergenerator.cpp @@ -382,6 +382,7 @@ void HeaderGenerator::finishGeneration() s << sbkTypeFunctions << endl; s << "// Generated converters declarations ----------------------------------" << endl << endl; s << convertersDecl << endl; + s << "} // namespace Shiboken" << endl << endl; s << "// User defined converters --------------------------------------------" << endl; foreach (TypeEntry* typeEntry, TypeDatabase::instance()->entries()) { @@ -390,8 +391,6 @@ void HeaderGenerator::finishGeneration() s << typeEntry->conversionRule(); } } - - s << "} // namespace Shiboken" << endl << endl; s << "// Generated converters implemantations -------------------------------" << endl << endl; s << converterImpl << endl; |