alright I figured it out.

Lisandro, your method worked perfect. the problem was in my function
prototype in the .pxd file.

I had to change it to this (fixed the argument types):

/********* .pxd ***********/
cimport c_cxcore
cimport c_highgui

cdef class CvArr:
    cdef c_cxcore.CvArr* handle(CvArr)

cdef class IplImage(CvArr):
    cdef c_cxcore.IplImage* thisptr
    cdef int needs_free
    cdef c_cxcore.CvArr* handle(IplImage)



thanks for the help guys!

Chris
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to