Commit 3a92303a authored by Xavier Thompson's avatar Xavier Thompson

Improve const cypclass type declaration method

parent ec87d624
...@@ -4703,8 +4703,8 @@ class ConstCypclassType(BaseType): ...@@ -4703,8 +4703,8 @@ class ConstCypclassType(BaseType):
def __str__(self): def __str__(self):
return self.declaration_code("", for_display=1) return self.declaration_code("", for_display=1)
def declaration_code(self, entity_code, for_display = 0, dll_linkage = None, pyrex = 0): def declaration_code(self, entity_code, for_display = 0, dll_linkage = None, pyrex = 0, template_params = None, deref = 0):
return "const %s" % self.const_base_type.declaration_code(entity_code, for_display, dll_linkage, pyrex) return "const %s" % self.const_base_type.declaration_code(entity_code, for_display, dll_linkage, pyrex, template_params, deref)
def empty_declaration_code(self): def empty_declaration_code(self):
if self._empty_declaration is None: if self._empty_declaration is None:
......
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