summaryrefslogtreecommitdiff
path: root/libguile/genio.c
diff options
context:
space:
mode:
authorJim Blandy <jimb@red-bean.com>1998-10-09 10:01:12 +0000
committerJim Blandy <jimb@red-bean.com>1998-10-09 10:01:12 +0000
commitea9fc30d4bbe511bc6403d9f0a6a1d1725414ffa (patch)
treeba9a772509d228a7a4eb3380e4b33728b6e30ae4 /libguile/genio.c
parent0c0669cc7348c68ed80942d12a52524ee0db1761 (diff)
downloadguile-ea9fc30d4bbe511bc6403d9f0a6a1d1725414ffa.tar.gz
Change the definition of the functions in scm_ptobfuns so that
they get passed the port object, not the port's stream. * ports.h (scm_ptobfuns): Rename all `stream' arguments to `port'. * gc.c (scm_gc_sweep): Pass the port itself to the free function. * genio.c (scm_putc, scm_puts, scm_lfwrite, scm_fflush, scm_getc): Pass the port itself to the scm_ptobs function. * ports.c (scm_close_port, scm_force_output, scm_flush_all_ports, scm_generic_fgets): Same. (putc_void_port, puts_void_port, write_void_port, flush_void_port, getc_void_port, fgets_void_port, close_void_port): Just change the argument names; these functions don't really do anything. * fports.c (local_fgetc, local_fgets, local_fclose, local_fflush, local_fputc, local_fputs, local_ffwrite, local_pclose): Take the port as an argument, and use SCM_STREAM to get the stdio FILE *. Also, use prototyped definitions, and get rid of the extra declarations. (scm_fptob, scm_pipob): We don't need casts here any more. * strports.c (prinstpt): Use prototype declarations. (stputc, stwrite, stputs, stgetc): Take the port as an argument, and use SCM_STREAM to get the string info. Also, use prototyped definitions, and get rid of the extra declarations. * vports.c (sfputc, sfwrite, sfputs, sfflush, sfgetc, sfclose, noop0): Same. * fports.c (local_fgetc, local_fgets): Renamed from scm_fgetc and scm_fgets, for consistency. (scm_fptop, scm_pipob): References updated.
Diffstat (limited to 'libguile/genio.c')
0 files changed, 0 insertions, 0 deletions