diff options
-rw-r--r-- | cppgenerator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cppgenerator.cpp b/cppgenerator.cpp index 096ad047..2b2eeb1a 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 |