[uim-commit] r2717 - branches/r5rs/sigscheme

yamaken at freedesktop.org yamaken at freedesktop.org
Mon Jan 2 01:42:33 PST 2006


Author: yamaken
Date: 2006-01-02 01:42:28 -0800 (Mon, 02 Jan 2006)
New Revision: 2717

Modified:
   branches/r5rs/sigscheme/io.c
   branches/r5rs/sigscheme/sigscheme.h
Log:
* sigscheme/sigscheme.h
  - (scm_port_encoding): Removed
  - (scm_port_codec): New function decl
* sigscheme/io.c
  - (scm_port_encoding): Removed
  - (scm_port_codec): New function


Modified: branches/r5rs/sigscheme/io.c
===================================================================
--- branches/r5rs/sigscheme/io.c	2006-01-02 09:21:00 UTC (rev 2716)
+++ branches/r5rs/sigscheme/io.c	2006-01-02 09:42:28 UTC (rev 2717)
@@ -181,11 +181,11 @@
     return err;
 }
 
-const char *
-scm_port_encoding(ScmObj port)
+ScmCharCodec *
+scm_port_codec(ScmObj port)
 {
     SCM_ASSERT_LIVE_PORT(port);
-    return SCM_CHARPORT_ENCODING(SCM_PORT_IMPL(port));
+    return SCM_CHARPORT_CODEC(SCM_PORT_IMPL(port));
 }
 
 char *

Modified: branches/r5rs/sigscheme/sigscheme.h
===================================================================
--- branches/r5rs/sigscheme/sigscheme.h	2006-01-02 09:21:00 UTC (rev 2716)
+++ branches/r5rs/sigscheme/sigscheme.h	2006-01-02 09:42:28 UTC (rev 2717)
@@ -886,7 +886,7 @@
 ScmObj scm_make_shared_file_port(FILE *file, const char *aux_info,
                               enum ScmPortFlag flag);
 int scm_port_close(ScmObj port);
-const char *scm_port_encoding(ScmObj port);
+ScmCharCodec *scm_port_codec(ScmObj port);
 char *scm_port_inspect(ScmObj port);
 int scm_port_get_char(ScmObj port);
 int scm_port_peek_char(ScmObj port);



More information about the uim-commit mailing list