mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-15 08:10:17 +02:00
Remove scm_putc_unlocked.
* libguile/ports.h (scm_putc_unlocked): Remove. * libguile/ports.c (scm_putc): Replace implementation with scm_putc_unlocked's implementation. (scm_port_print): Use scm_putc. * libguile/arbiters.c: * libguile/arrays.c: * libguile/bitvectors.c: * libguile/bytevectors.c: * libguile/continuations.c: * libguile/dynl.c: * libguile/eval.c: * libguile/filesys.c: * libguile/fluids.c: * libguile/foreign.c: * libguile/fports.c: * libguile/frames.c: * libguile/hashtab.c: * libguile/hooks.c: * libguile/macros.c: * libguile/mallocs.c: * libguile/print.c: * libguile/programs.c: * libguile/promises.c: * libguile/r6rs-ports.c: * libguile/smob.c: * libguile/srcprop.c: * libguile/struct.c: * libguile/variable.c: * libguile/weak-set.c: * libguile/weak-table.c: Use scm_putc instead of scm_putc_unlocked.
This commit is contained in:
parent
796676028b
commit
206b3f6e03
28 changed files with 70 additions and 81 deletions
|
@ -940,7 +940,7 @@ scm_print_struct (SCM exp, SCM port, scm_print_state *pstate)
|
|||
if (scm_is_true (name))
|
||||
{
|
||||
scm_display (name, port);
|
||||
scm_putc_unlocked (' ', port);
|
||||
scm_putc (' ', port);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -949,9 +949,9 @@ scm_print_struct (SCM exp, SCM port, scm_print_state *pstate)
|
|||
else
|
||||
scm_puts_unlocked ("struct:", port);
|
||||
scm_uintprint (SCM_UNPACK (vtable), 16, port);
|
||||
scm_putc_unlocked (' ', port);
|
||||
scm_putc (' ', port);
|
||||
scm_write (SCM_VTABLE_LAYOUT (vtable), port);
|
||||
scm_putc_unlocked (' ', port);
|
||||
scm_putc (' ', port);
|
||||
}
|
||||
scm_uintprint (SCM_UNPACK (exp), 16, port);
|
||||
/* hackety hack */
|
||||
|
@ -971,7 +971,7 @@ scm_print_struct (SCM exp, SCM port, scm_print_state *pstate)
|
|||
scm_write (SCM_STRUCT_SETTER (exp), port);
|
||||
}
|
||||
}
|
||||
scm_putc_unlocked ('>', port);
|
||||
scm_putc ('>', port);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue