diff options
author | Renato Filho <renato.filho@openbossa.org> | 2010-08-18 19:14:30 -0300 |
---|---|---|
committer | Renato Filho <renato.filho@openbossa.org> | 2010-08-19 11:37:06 -0300 |
commit | f056f08a8495f89037292b3c273aba254610ee8a (patch) | |
tree | ae6041660c8771d0d27402936d077879a5247b47 | |
parent | 285c84f27d60df6bf117731fa71a33717d063013 (diff) |
Fixed module initialization export.
Reviewer: Hugo Parente Lima <hugo.pl@gmail.com>
Luciano Wolf <luciano.wolf@openbossa.org>
-rw-r--r-- | cppgenerator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cppgenerator.cpp b/cppgenerator.cpp index 096ad0478..2b2eeb1ab 100644 --- a/cppgenerator.cpp +++ b/cppgenerator.cpp @@ -3588,7 +3588,7 @@ void CppGenerator::finishGeneration() s << "extern \"C\" {" << endl << endl; - s << getApiExportMacro() << " PyMODINIT_FUNC" << endl << "init" << moduleName() << "()" << endl; + s << "PyMODINIT_FUNC " << getApiExportMacro() << endl << "init" << moduleName() << "()" << endl; s << '{' << endl; // module inject-code target/beginning |