Chris Colbert wrote:
> I guess what i'm asking, if I have a single python object reference the
> IplImage* handle, and I delete the python object, the IplImage still exists,
> so I would need to explicitly deallocate the image in the __dealloc__
> special method, correct?

Exactly. As long as you can make sure you have a 1:1 mapping between Python
objects and C structs, that's all you need to care about.

Stefan

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

Reply via email to