diff options
author | Jim Blandy <jimb@red-bean.com> | 1999-09-06 13:49:41 +0000 |
---|---|---|
committer | Jim Blandy <jimb@red-bean.com> | 1999-09-06 13:49:41 +0000 |
commit | e19b35d2074a08b50431043da2095a4602fe6840 (patch) | |
tree | 136ea2bb8666ab76ba28e341e0d320030ab28ea8 | |
parent | 853ed17f3fcd1a21223b8e3b748207c9a818aa9c (diff) | |
download | guile-e19b35d2074a08b50431043da2095a4602fe6840.tar.gz |
* mbconv.c: Incomplete beginnings of converting input and output ports.
* mbconv.h: Declarations for same.
-rw-r--r-- | libguile/mbconv.c | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/libguile/mbconv.c b/libguile/mbconv.c index e3a256aa0..09b3f34f1 100644 --- a/libguile/mbconv.c +++ b/libguile/mbconv.c @@ -356,6 +356,33 @@ scm_mb_iconv (struct scm_mb_iconv *context, return 0; } +#if 0 + +/* Input conversion ports. */ + +/* Given that PORT is an input port containing data in the encoding + named ENCODING, return a new input port carrying the same data as + PORT, converted into Guile's internal encoding. The resulting input + port is not seekable. */ +SCM_PROC (s_convert_input_port, "convert-input-port", 2, 0, 0, scm_convert_input_port); +SCM +scm_convert_input_port (SCM port, SCM encoding) +{ + +} + + +/* Output conversion ports. */ +/* Return a new port which accepts data in Guile's internal encoding, + and sends it to PORT in ENCODING. PORT must be an output port, and + ENCODING must be the name of an encoding. */ +SCM +scm_convert_output_port (SCM port, SCM encoding) +{ + +} +#endif + /* Initialization. */ |