Commit 1affddcf authored by Xavier Thompson's avatar Xavier Thompson

Fix PyObject -> CyObject conversion code for cypclasses in nested namespaces

parent 883001d1
......@@ -4302,7 +4302,7 @@ class CypClassType(CppClassType):
def create_from_py_utility_code(self, env):
if not self.wrapper_type:
return False
underlying_type_name = self.cname
underlying_type_name = self.empty_declaration_code()
self.from_py_function = "__Pyx_PyObject_AsCyObject<%s>" % underlying_type_name
return True
......
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