Commit f541d02e authored by gsamain's avatar gsamain

Give a func_cname to __activate__

parent a1aed36c
......@@ -724,6 +724,7 @@ class Scope(object):
activate_type = PyrexTypes.CFuncType(act_type, [], nogil = 1)
activate_entry = scope.declare("__activate__", "__activate__", activate_type, None, 'extern')
activate_entry.is_variable = activate_entry.is_cfunction = 1
activate_entry.func_cname = "%s::%s" % (entry.type.empty_declaration_code(), "__activate__")
if self.is_cpp_class_scope:
entry.type.namespace = self.outer_scope.lookup(self.name).type
......
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