Re: Callbacks

Greg Ewing <[email protected]> Sat, 10 May 2008 00:21:45 +1200
Newsgroups gmane.comp.python.pyrex
Message-ID <[email protected]>
Daniele Pianu wrote:
> I also solve the problem putting func, data references couples into a 
> list. Since the list is a PyFooStruct attribute, func/data references 
> will never be decremented until the PyFooStruct is used. Could be a 
> better solution than the first solution suggested?

Yes, that sounds like the right thing to do.

-- 
Greg