On Thu, Feb 28, 2013 at 4:58 AM, Yury V. Zaytsev <y...@shurup.com> wrote:
> Hi, > > I'm sorry if my question would appear to be trivial, but what am I > supposed to do, if I want to wrap class methods, that return a reference > to another class? As a workaround you could use: cdef extern from "test.h": int* foo2ptr "&foo" () cdef int *x = foo2ptr() This could be extended to your other example as well. -Brad
_______________________________________________ cython-devel mailing list cython-devel@python.org http://mail.python.org/mailman/listinfo/cython-devel