On Fri Feb 13 2015 at 11:07:39 PM Greg Ewing
wrote:
> Ulrich Dobramysl wrote:
>
> > Thanks! I haven't figured out how to call heap allocated objects, as the
> > code
> > ---
> > cdef OperatorTest *t = new OperatorTest()
> > t()
> > ---
> &
On Fri Feb 13 2015 at 2:23:45 PM Stefan Behnel wrote:
> Ulrich Dobramysl schrieb am 11.02.2015 um 09:56:
> > From what I've been able to work out, the problem seems to be that the
> call
> > to "t()" is treated as a NameNode in ExprNodes.py and not an
> Attr
Dear all,
I tried to declare an external c++ class that includes an operator()
function in a pxd file. When I then call a class instance, cython generates
faulty c++ code. It includes a call to "operator()()", and not a call to
the instance object. Here is a minimum working example:
call_operator