1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-04-30 11:50:28 +02:00

boot_closure_print cleanup

* libguile/eval.c (boot_closure_print): Get at the bits directly.
This commit is contained in:
Andy Wingo 2011-10-24 17:59:23 +02:00
parent 21041372ed
commit fdecb44f32

View file

@ -914,7 +914,7 @@ boot_closure_print (SCM closure, SCM port, scm_print_state *pstate)
{
SCM args;
scm_puts ("#<boot-closure ", port);
scm_uintprint ((scm_t_bits)SCM2PTR (closure), 16, port);
scm_uintprint (SCM_UNPACK (closure), 16, port);
scm_putc (' ', port);
args = scm_make_list (scm_from_int (BOOT_CLOSURE_NUM_REQUIRED_ARGS (closure)),
scm_from_latin1_symbol ("_"));