Re: [Cython] [Pyrex] Callbacks
Robert Bradshaw <[email protected]> Fri, 9 May 2008 02:53:58 -0700
| Newsgroups | gmane.comp.python.cython.devel,gmane.comp.python.pyrex |
|---|---|
| Message-ID | <[email protected]> |
On May 9, 2008, at 2:42 AM, Daniele Pianu wrote: [...] > Is there a way to solve the problem without importing anything from > Python.h? No, unless you want to cache of the func/data manually somewhere else. Also note that this may cause a memory leak, as the reference count will never be decremented. - Robert