mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-18 01:30:27 +02:00
Remove port equal functions
* doc/ref/api-io.texi (Port Implementation): Remove mention of port equal functions. * NEWS: Update. * libguile/ports.c (scm_set_port_equalp): Remove. * libguile/ports.h (scm_t_ptob_descriptor): Remove equalp function.
This commit is contained in:
parent
67b147fb7a
commit
e98f64009d
4 changed files with 6 additions and 14 deletions
|
@ -274,12 +274,6 @@ scm_set_port_print (scm_t_bits tc, int (*print) (SCM exp, SCM port,
|
|||
scm_c_port_type_ref (SCM_TC2PTOBNUM (tc))->print = print;
|
||||
}
|
||||
|
||||
void
|
||||
scm_set_port_equalp (scm_t_bits tc, SCM (*equalp) (SCM, SCM))
|
||||
{
|
||||
scm_c_port_type_ref (SCM_TC2PTOBNUM (tc))->equalp = equalp;
|
||||
}
|
||||
|
||||
void
|
||||
scm_set_port_close (scm_t_bits tc, int (*close) (SCM))
|
||||
{
|
||||
|
|
|
@ -187,7 +187,6 @@ typedef struct scm_t_ptob_descriptor
|
|||
{
|
||||
char *name;
|
||||
int (*print) (SCM exp, SCM port, scm_print_state *pstate);
|
||||
SCM (*equalp) (SCM, SCM);
|
||||
int (*close) (SCM port);
|
||||
|
||||
void (*write) (SCM port, const void *data, size_t size);
|
||||
|
@ -228,7 +227,6 @@ SCM_API void scm_set_port_print (scm_t_bits tc,
|
|||
int (*print) (SCM exp,
|
||||
SCM port,
|
||||
scm_print_state *pstate));
|
||||
SCM_API void scm_set_port_equalp (scm_t_bits tc, SCM (*equalp) (SCM, SCM));
|
||||
SCM_API void scm_set_port_close (scm_t_bits tc, int (*close) (SCM));
|
||||
SCM_API void scm_set_port_needs_close_on_gc (scm_t_bits tc, int needs_close_p);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue