Email list hosting service & mailing list manager

no constants please Tom Lord (23 Dec 2003 23:06 UTC)
Re: no constants please tb@xxxxxx (23 Dec 2003 23:10 UTC)
Re: no constants please Michael Sperber (26 Dec 2003 18:31 UTC)
Re: no constants please Tom Lord (26 Dec 2003 19:24 UTC)
Re: no constants please Michael Sperber (27 Dec 2003 16:17 UTC)
Re: no constants please Tom Lord (27 Dec 2003 18:55 UTC)

Re: no constants please tb@xxxxxx 23 Dec 2003 23:10 UTC

Tom Lord <xxxxxx@emf.net> writes:

> Not
>
> 	x = SCHEME_FALSE;
>
> but:
>
> 	SCHEME_MAKE_FALSE (&x, instance);
>
> because, you never know, those constants might be heap allocated.

And don't forget SCHEME_IS_FALSE(x).

Because you should not assume that C equality is the right test.