Re: ctypes-users Digest, Vol 49, Issue 6

Adam Morris <[email protected]>
Newsgroups gmane.comp.python.ctypes
Message-ID <[email protected]>
> self.function_instance =
> self.keep_wrap_function_reference(python_function)
> result = self.cdll.Ax_SetVoteCallback(self.function_instance,context)

That was it. DUH. I thought the self.keep_wrap_function_reference
would actually keep the ref counter up. Of course not! THANKS (you
just saved me a sleepless night...)

------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.