* print.c (scm_print_state_vtable, print_state_pool):
authorDirk Herrmann <dirk@dirk-herrmanns-seiten.de>
Thu, 11 Oct 2001 23:20:52 +0000 (23:20 +0000)
committerDirk Herrmann <dirk@dirk-herrmanns-seiten.de>
Thu, 11 Oct 2001 23:20:52 +0000 (23:20 +0000)
commitd5cf5324a3a9c8f0202d1bd49aacc98bbe331f55
treec653fd94c93b28a700e49378de5444508d2fc12a
parent37c56aecf830c10f43d122659584674e61e974ba
* print.c (scm_print_state_vtable, print_state_pool):
Initialize.  These variables are now registered as gc roots.

(scm_current_pstate):  Update documentation.

(scm_current_pstate, scm_make_print_state, scm_free_print_state,
scm_prin1, scm_init_print):  print_state_pool is registered as a
gc root and thus does not need to be protected by a surrounding
pair any more.

(make_print_state):  The car of print_state_pool no longer holds
the scm_print_state_vtable.

(scm_current_pstate, scm_make_print_state, print_circref,
scm_iprin1, scm_prin1, scm_iprlist):  Prefer !SCM_<foo> over
SCM_N<foo>.

(scm_prin1):  When building lists, prefer scm_list_<n> over
scm_cons[2]?.

(scm_iprlist):  Removed a redundant SCM_IMP test.

(scm_simple_format):  Use SCM_EQ_P to compare SCM values.
libguile/ChangeLog
libguile/print.c