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

minor code cleanup

parent 5b7e7165
...@@ -2688,7 +2688,7 @@ class CFuncType(CType): ...@@ -2688,7 +2688,7 @@ class CFuncType(CType):
if self.type.is_extension_type or self.type.is_builtin_type: if self.type.is_extension_type or self.type.is_builtin_type:
return '__Pyx_TypeTest(<PyObject*>%s, %s_TYPE)' % (self.name, self.type_name) return '__Pyx_TypeTest(<PyObject*>%s, %s_TYPE)' % (self.name, self.type_name)
if self.return_type is c_void_type: if self.return_type.is_void:
return_type = 'void' return_type = 'void'
declare_return_type = '' declare_return_type = ''
declare_return_type_convert = '' declare_return_type_convert = ''
......
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