Re: SET_NULL

2007-06-01 Thread Andy Lester
On Jun 1, 2007, at 8:20 PM, Steve Peters wrote: I can't see any need for such a macro other than for the minor obfuscation that it allows. For most of the Parrot code, I haven't SET_NULL() used, and I haven't used it myself. I'm a bit curious how much it is actuall

Re: SET_NULL

2007-06-01 Thread Andy Lester
On Jun 1, 2007, at 8:20 PM, Steve Peters wrote: I can't see any need for such a macro other than for the minor obfuscation that it allows. For most of the Parrot code, I haven't SET_NULL() used, and I haven't used it myself. I'm a bit curious how much it is ac

Re: SET_NULL

2007-06-01 Thread Steve Peters
On Fri, Jun 01, 2007 at 07:53:35PM -0500, Andy Lester wrote: > From include/parrot/parrot.h: > > /* weird architectures might need this, s. C-FAQ 5.17 > * > * the SET_NULL macros are only for system, where a NULL pointer > * isn't represented by zeroes, so don't use

SET_NULL

2007-06-01 Thread Andy Lester
From include/parrot/parrot.h: /* weird architectures might need this, s. C-FAQ 5.17 * * the SET_NULL macros are only for system, where a NULL pointer * isn't represented by zeroes, so don't use these, for resetting * non-null pointers */ #ifdef HAS_NON_ZERO_NULL # define SET_NULL(x