summaryrefslogtreecommitdiff
path: root/libguile/boolean.h
diff options
context:
space:
mode:
authorMark H Weaver <mhw@netris.org>2010-03-27 17:35:46 -0400
committerAndy Wingo <wingo@pobox.com>2010-03-28 14:34:19 +0200
commitf60c2c4e100b36e5ec2616ba7940280b57d952b9 (patch)
tree7f2bc085b100794a730d28f0e55b70d789f121c3 /libguile/boolean.h
parent98dcf051e00bb0b36b932b60e5bdce584f2acde4 (diff)
downloadguile-f60c2c4e100b36e5ec2616ba7940280b57d952b9.tar.gz
Renumber IFLAGSs so the first 8 are reserved for lisp booleans.
This enables more efficient implementations of several operations, e.g. scm_is_lisp_bool, canonicalize_boolean, fast_boolean_not, converting SCM booleans to C booleans, etc. * libguile/tags.h: Renumber IFLAGs. * libguile/print.c: Renumber iflagnames to match. * libguile/boolean.c: * libguile/boolean.h: SCM_XXX_ANOTHER_BOOLEAN_DONT_USE --> SCM_XXX_ANOTHER_BOOLEAN_DONT_USE_0
Diffstat (limited to 'libguile/boolean.h')
-rw-r--r--libguile/boolean.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libguile/boolean.h b/libguile/boolean.h
index ba5313ca4..bc108f5c3 100644
--- a/libguile/boolean.h
+++ b/libguile/boolean.h
@@ -75,7 +75,7 @@
*
* If SCM_ENABLE_ELISP is true, then scm_is_bool_or_nil(x)
* returns 1 if and only if x is one of the following: SCM_BOOL_F,
- * SCM_BOOL_T, SCM_ELISP_NIL, or SCM_XXX_ANOTHER_BOOLEAN_DONT_USE.
+ * SCM_BOOL_T, SCM_ELISP_NIL, or SCM_XXX_ANOTHER_BOOLEAN_DONT_USE_0.
* Otherwise, it returns 0.
*/
#if SCM_ENABLE_ELISP