Commit 388897b0 authored by Xavier Thompson's avatar Xavier Thompson

Skip wrapping cypclasses that are defined in a pxd file

parent 1b281f59
......@@ -132,6 +132,10 @@ def NAME(ARGDECLS):
# skip forward declarations
return
if node.entry.defined_in_pxd:
# Skip cypclasses defined in a pxd file
return
new_entry = node.scope.lookup_here("__new__")
if new_entry and new_entry.type.return_type is not node.entry.type:
# skip cypclasses that don't instanciate their own 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