mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-14 15:40:19 +02:00
* eval.c, numbers.h, unif.h, smob.h, srcprop.c: Added #include
"print.h" * arbiters.c (prinarb), async.c (print_async), debug.c (prindebugobj, prinmemoized), eval.c (prinprom, prinmacro), filesys.c (scm_fd_print, scm_dir_print), kw.c (print_kw), mallocs.c (prinmalloc), numbers.c, numbers.h (scm_floprint, scm_bigprint), smob.h (scm_smobfuns), srcprop.c (prinsrcprops), throw.c (prinjb), unif.c, unif.h (scm_raprin1, rapr1), variable.c (prin_var): Changed argument `int writing' to `scm_print_state *pstate'.
This commit is contained in:
parent
2c36c351d0
commit
1940267936
6 changed files with 36 additions and 22 deletions
|
@ -51,6 +51,7 @@
|
|||
#include "hashtab.h"
|
||||
#include "hash.h"
|
||||
#include "weaks.h"
|
||||
#include "print.h"
|
||||
|
||||
#include "srcprop.h"
|
||||
|
||||
|
@ -108,17 +109,20 @@ freesrcprops (obj)
|
|||
|
||||
#ifdef __STDC__
|
||||
static int
|
||||
prinsrcprops (SCM obj, SCM port, int writing)
|
||||
prinsrcprops (SCM obj, SCM port, scm_print_state *pstate)
|
||||
#else
|
||||
static int
|
||||
prinsrcprops (obj, port, writing)
|
||||
prinsrcprops (obj, port, pstate)
|
||||
SCM obj;
|
||||
SCM port;
|
||||
int writing;
|
||||
scm_print_state *pstate;
|
||||
#endif
|
||||
{
|
||||
int writingp = SCM_WRITINGP (pstate);
|
||||
scm_gen_puts (scm_regular_string, "#<srcprops ", port);
|
||||
scm_iprin1 (scm_srcprops_to_plist (obj), port, 1);
|
||||
SCM_SET_WRITINGP (pstate, 1);
|
||||
scm_iprin1 (scm_srcprops_to_plist (obj), port, pstate);
|
||||
SCM_SET_WRITINGP (pstate, writingp);
|
||||
scm_gen_putc ('>', port);
|
||||
return 1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue