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.