diff --git a/src/main.cpp b/src/main.cpp index 81bc803..81c6b15 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1304,6 +1304,8 @@ int main(int argc, char** argv) { "\n" "#ifdef __cplusplus\n" "extern \"C\" {{\n" + "#endif\n" + "\n" ); std::vector> static_funcs_by_section{ context.sections.size() }; @@ -1502,8 +1504,6 @@ int main(int argc, char** argv) { "#ifdef __cplusplus\n" "}}\n" "#endif\n" - "\n" - "#endif\n" ); {