[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

no constants please

This page is part of the web mail archives of SRFI 50 from before July 7th, 2015. The new archives for SRFI 50 contain all messages, not just those from before July 7th, 2015.




SCHEME_FALSE, SCHEME_TRUE, SCHEME_NULL, and SCHEME_UNSPECIFIC should
be functions, not constants:


Not

	x = SCHEME_FALSE;

but:

	SCHEME_MAKE_FALSE (&x, instance);

because, you never know, those constants might be heap allocated.

-t