init = " = NULL"
code.putln(
"%s%s;" %
- (self.return_type.declaration_code(
- Naming.retval_cname),
- init))
+ (self.return_type.declaration_code(Naming.retval_cname),
+ init))
tempvardecl_code = code.insertion_point()
self.generate_keyword_list(code)
+ if profile:
+ code.put_trace_declarations()
# ----- Extern library function declarations
lenv.generate_library_function_declarations(code)
# ----- GIL acquisition
# Argument which must be a Python object (used
# for * and ** arguments).
#
- # name string
- # entry Symtab.Entry
+ # name string
+ # entry Symtab.Entry
+ # annotation ExprNode or None Py3 argument annotation
child_attrs = []
-
+
+ def generate_function_definitions(self, env, code):
+ self.entry.generate_function_definitions(env, code)
class DecoratorNode(Node):
# A decorator