summaryrefslogtreecommitdiff
path: root/weave/ext_tools.py
diff options
context:
space:
mode:
Diffstat (limited to 'weave/ext_tools.py')
-rw-r--r--weave/ext_tools.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/weave/ext_tools.py b/weave/ext_tools.py
index 0579a6e08..abee340fa 100644
--- a/weave/ext_tools.py
+++ b/weave/ext_tools.py
@@ -232,17 +232,17 @@ class ext_module:
def header_code(self):
h = self.get_headers()
h= map(lambda x: '#include ' + x + '\n',h)
- return ''.join(h)
+ return ''.join(h) + '\n'
def support_code(self):
code = self.build_information().support_code()
- return ''.join(code)
+ return ''.join(code) + '\n'
def function_code(self):
all_function_code = ""
for func in self.functions:
all_function_code += func.function_code()
- return ''.join(all_function_code)
+ return ''.join(all_function_code) + '\n'
def python_function_definition_code(self):
all_definition_code = ""