summaryrefslogtreecommitdiff
path: root/guile-readline
diff options
context:
space:
mode:
authorMichael Gran <spk121@yahoo.com>2009-09-09 08:07:53 -0700
committerMichael Gran <spk121@yahoo.com>2009-09-09 08:07:53 -0700
commitf7f4d0477e2f67f0c1248da5d6e64044019196a3 (patch)
tree334a45969ee86f48b9a58865a52b59d4ee8fbd72 /guile-readline
parent0d05ae7c4b1eddf6257f99f44eaf5cb7b11191be (diff)
Make scm_i_from_stringn into API for use with libguilereadline
* libguile/strings.c (scm_i_from_stringn): renamed to scm_from_stringn. All callers changed. * libguile/strings.h: change declaration of scm_i_from_stringn to scm_from_stringn * libguile/strports.c (scm_strport_to_string): scm_i_from_stringn -> scm_from_stringn * guile-readline/readline.c (internal_readline): scm_i_from_stringn -> scm_from_stringn
Diffstat (limited to 'guile-readline')
-rw-r--r--guile-readline/readline.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/guile-readline/readline.c b/guile-readline/readline.c
index a665415bf..5f6719dd7 100644
--- a/guile-readline/readline.c
+++ b/guile-readline/readline.c
@@ -259,8 +259,8 @@ internal_readline (SCM text)
{
scm_t_port *pt = SCM_PTAB_ENTRY (output_port);
- ret = scm_i_from_stringn (s, strlen (s), pt->encoding,
- SCM_FAILED_CONVERSION_ESCAPE_SEQUENCE);
+ ret = scm_from_stringn (s, strlen (s), pt->encoding,
+ SCM_FAILED_CONVERSION_ESCAPE_SEQUENCE);
}
else
ret = SCM_EOF_VAL;