> which means your declaration of callback_test_hello in callbacks.cpp
> also needs to be extern "c" to have the same (i.e. no) mangling.
>
That was it!
Thanks,
Brett
___
cython-devel mailing list
cython-devel@python.org
http://mail.python.org/mailman/l
On Wed, Sep 21, 2011 at 2:54 AM, Brett Calcott wrote:
> Hi. I've just reverted to 0.14.1 because 0.15 breaks code that implements a
> cpp callback in python. It seems to be a name-mangling problem.
> I've attached a short test case that shows the problem. They both compile
> fine on 14.1 and 15. B
Hi. I've just reverted to 0.14.1 because 0.15 breaks code that implements a
cpp callback in python. It seems to be a name-mangling problem.
I've attached a short test case that shows the problem. They both compile
fine on 14.1 and 15. But if I try and run the 15 compiled version I get
this:
Trace