2 Jan 2005 22:29
Re: Setting a pointer to NULL
<len-l <at> telus.net>
2005-01-02 21:29:39 GMT
2005-01-02 21:29:39 GMT
On 30 Dec 2004 at 20:43, Thomas Heller wrote: > It's the intended behaviour that POINTER(ctype)() creates a NULL > pointer, so that has to be the recommended way up currently. > > But, assigning None to structure fields containing POINTER types > *should* also work, so I've changed this in CVS. > > Thanks for the heads up. > Your welcome. And thanks for the information. I have forwarded it to comp.lang.python where I had earlier posted a ctypes example. Lenard Lindstrom <len-l <at> telus.net> ------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt
RSS Feed