renamed gh_int2scmb to gh_bool2scm

This commit is contained in:
Mark Galassi 1997-10-07 15:39:24 +00:00
commit dbb3005d81
2 changed files with 11 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Tue Oct 7 09:37:24 1997 Mark Galassi <rosalia@cygnus.com>
* gh_data.c (gh_bool2scm): new function which replaces
gh_int2scmb(), which is now tagged as obsolete.
1997-10-03 Mikael Djurfeldt <mdj@nada.kth.se>
* print.h (SCM_PRINT_STATE_P): Removed SCM_NIMP test. (NIMP

View file

@ -48,7 +48,12 @@
/* data conversion C->scheme */
SCM
gh_int2scmb (int x)
gh_int2scmb (int x) /* this is being phased out */
{
return (x ? SCM_BOOL_T : SCM_BOOL_F);
}
SCM
gh_bool2scm (int x)
{
return (x ? SCM_BOOL_T : SCM_BOOL_F);
}