public inbox for guile-cvs@sourceware.org help / color / mirror / Atom feed
From: mdj@sourceware.cygnus.com To: guile-cvs@sourceware.cygnus.com Subject: guile/guile-core/libguile ports.c ports.h Date: Sat, 24 Jul 1999 16:10:00 -0000 [thread overview] Message-ID: <19990724231013.23872.qmail@egcs.cygnus.com> (raw) CVSROOT: /cvs/guile Module name: guile Changes by: mdj@egcs.cygnus.com 99/07/24 16:10:13 Modified files: guile-core/libguile: ports.c ports.h Log message: * ports.c, ports.h (scm_make_port_type): New interface for creation of port types (replaces scm_newptob). Just as for the smobs, we need to separate the internal representation of smob types from the interface, so that we easily can add new fields and rearrange things without caring about backward compatibility. This change was forced by the need in GOOPS to create classes representing port types. (scm_set_ptob_mark, scm_set_ptob_free, scm_set_ptob_print, scm_set_ptob_equalp, scm_set_ptob_flush_input, scm_set_ptob_close, scm_set_ptob_seek, scm_set_ptob_truncate, scm_set_ptob_input_waiting_p): New setters. (scm_newptob): Rewritten to use scm_make_port_type. For backward compatibility. (scm_ptobs): Changed type scm_ptobfuns --> scm_ptob_descriptor. (scm_prinport): Removed. (scm_port_print): Added. (scm_print_port_mode): Added. (void_port_ptob, print_void_port, close_void_port, noop0): Removed. Removed #include "genio.h" Added #include "objects.h", #include "smobs.h"
reply other threads:[~1999-07-24 16:10 UTC|newest] Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=19990724231013.23872.qmail@egcs.cygnus.com \ --to=mdj@sourceware.cygnus.com \ --cc=guile-cvs@sourceware.cygnus.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).