1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-28 07:50:20 +02:00

Remove non-R5RS stuff from the 'rn' index.

This commit is contained in:
Marius Vollmer 2004-07-06 14:21:46 +00:00
parent 9b5eee309e
commit ef53cad458

View file

@ -123,38 +123,31 @@ Return @code{#t} if @var{obj} is either @code{#t} or @code{#f}, else
return @code{#f}.
@end deffn
@rnindex SCM_BOOL_T
@deftypevr {C Macro} SCM SCM_BOOL_T
The @code{SCM} representation of the Scheme object @code{#t}.
@end deftypevr
@rnindex SCM_BOOL_T
@deftypevr {C Macro} SCM SCM_BOOL_F
The @code{SCM} representation of the Scheme object @code{#f}.
@end deftypevr
@rnindex scm_is_true
@deftypefn {C Macro} int scm_is_true (SCM obj)
Return @code{0} if @var{obj} is @code{#f}, else return @code{1}.
@end deftypefn
@rnindex scm_is_false
@deftypefn {C Macro} int scm_is_false (SCM obj)
Return @code{1} if @var{obj} is @code{#f}, else return @code{0}.
@end deftypefn
@rnindex scm_is_bool
@deftypefn {C Macro} scm_is_bool (SCM obj)
Return @code{1} if @var{obj} is either @code{#t} or @code{#f}, else
return @code{0}.
@end deftypefn
@rnindex scm_from_bool
@deftypefn {C Macro} SCM scm_from_bool (int val)
Return @code{#f} if @var{val} is @code{0}, else return @code{#t}.
@end deftypefn
@rnindex scm_to_bool
@deftypefn {C Macro} int scm_to_bool (SCM val)
Return @code{1} if @var{val} is @code{SCM_BOOL_T}, return @code{0}
when @var{val} is @code{SCM_BOOL_F}, else signal a `wrong type' error.