Commit c4ebfc09 authored by gsamain's avatar gsamain

Make CFakeReference type use start declaration in case of a cypclass

parent eedb9678
...@@ -2650,7 +2650,7 @@ class CFakeReferenceType(CReferenceType): ...@@ -2650,7 +2650,7 @@ class CFakeReferenceType(CReferenceType):
def declaration_code(self, entity_code, def declaration_code(self, entity_code,
for_display = 0, dll_linkage = None, pyrex = 0): for_display = 0, dll_linkage = None, pyrex = 0):
#print "CReferenceType.declaration_code: pointer to", self.base_type ### #print "CReferenceType.declaration_code: pointer to", self.base_type ###
return "__Pyx_FakeReference<%s> %s" % (self.ref_base_type.empty_declaration_code(), entity_code) return "__Pyx_FakeReference<%s> %s" % (self.ref_base_type.declaration_code(''), entity_code)
class CFuncType(CType): class CFuncType(CType):
......
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