Commit fd3a2244 authored by Xavier Thompson's avatar Xavier Thompson

Fix active calls returning typedef int promise

parent 608c29a9
......@@ -1197,7 +1197,7 @@ class ModuleNode(Nodes.Node, Nodes.BlockNode):
if does_return:
code.putln("Cy_WLOCK(this->%s);" % result_attr_cname)
if reified_function_entry.type.return_type is PyrexTypes.c_int_type:
if reified_function_entry.type.return_type.resolve() is PyrexTypes.c_int_type:
code.putln("this->%s->pushIntResult(result);" % result_attr_cname)
else:
code.putln("this->%s->pushVoidStarResult((void*)result);" % result_attr_cname)
......
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