Hi Robert,
Robert Bradshaw wrote:
The warning seem correct to me, or is foo actually modifying the
values of cya and cyb? (I suppose this could be possible by taking the
address of the "passed by reference" arguments, but would seem like a
*very* poor API design.)
thanks for your fast answer!
Hi,
I got a (misleading) Cython warning from the following code example:
cdef extern from "":
void foo(int &a, int &b)
cdef cyfoo():
cdef int cya, cyb
foo(cya, cyb)
Executing "cython --cplus" produced these messages: