* struct.c (struct_printer): New variable that holds a handle on
authorMarius Vollmer <mvo@zagadka.de>
Wed, 4 Jun 1997 22:40:58 +0000 (22:40 +0000)
committerMarius Vollmer <mvo@zagadka.de>
Wed, 4 Jun 1997 22:40:58 +0000 (22:40 +0000)
commit916d65b1d12623e89d84c2be2536bc7a2e372d53
tree4e8370fb6d8f0b61fac3d2b1a50e95fb58d4f94d
parentfa7e92746642ed139eaad0250d3c2a953bcd32dc
* struct.c (struct_printer): New variable that holds a handle on
the Scheme variable *struct-printer*.  This variable can be set by
Scheme code to override the printing of structures.
(scm_print_struct): If struct_printer is set, call it.  If it is
not set, or returns #f, print the structure in the old fashion.
Include "eval.h" for scm_apply.
libguile/struct.c