diff options
author | Mark H Weaver <mhw@netris.org> | 2010-03-27 17:35:46 -0400 |
---|---|---|
committer | Andy Wingo <wingo@pobox.com> | 2010-03-28 14:34:19 +0200 |
commit | f60c2c4e100b36e5ec2616ba7940280b57d952b9 (patch) | |
tree | 7f2bc085b100794a730d28f0e55b70d789f121c3 /libguile/boolean.h | |
parent | 98dcf051e00bb0b36b932b60e5bdce584f2acde4 (diff) | |
download | guile-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.h | 2 |
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 |