summaryrefslogtreecommitdiff
path: root/weave/ext_tools.py
diff options
context:
space:
mode:
authorEric Jones <eric@enthought.com>2004-11-11 23:30:12 +0000
committerEric Jones <eric@enthought.com>2004-11-11 23:30:12 +0000
commit7a926be3075dd8eba8ede8ffaaef1f66b48373e8 (patch)
tree86fb253a84860627a391b5003ad11c24fe34130e /weave/ext_tools.py
parent06a0482f8a6a4863db5982baaca5130cdff0511e (diff)
downloadnumpy-7a926be3075dd8eba8ede8ffaaef1f66b48373e8.tar.gz
added '\\n' to separate some of the generated code better.
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 = ""