Commit 0ad99411 authored by Stefan Behnel's avatar Stefan Behnel

fix annotation for generated Python function wrapper

parent 74fff22f
...@@ -2941,6 +2941,7 @@ class DefNodeWrapper(FuncDefNode): ...@@ -2941,6 +2941,7 @@ class DefNodeWrapper(FuncDefNode):
def generate_function_definitions(self, env, code): def generate_function_definitions(self, env, code):
lenv = self.target.local_scope lenv = self.target.local_scope
# Generate C code for header and body of function # Generate C code for header and body of function
code.mark_pos(self.pos)
code.putln("") code.putln("")
code.putln("/* Python wrapper */") code.putln("/* Python wrapper */")
preprocessor_guard = self.target.get_preprocessor_guard() preprocessor_guard = self.target.get_preprocessor_guard()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment