Change `scm_encoding_error' to pass the port and faulty character.
[bpt/guile.git] / libguile / strings.h
index 329e6c1..ed3a067 100644 (file)
@@ -211,9 +211,7 @@ SCM_INTERNAL int scm_i_try_narrow_string (SCM str);
 SCM_INTERNAL SCM scm_i_symbol_substring (SCM sym, size_t start, size_t end);
 SCM_INTERNAL scm_t_wchar scm_i_symbol_ref (SCM sym, size_t x);
 SCM_INTERNAL void scm_encoding_error (const char *subr, int err,
-                                     const char *message,
-                                     const char *from, const char *to,
-                                     SCM string_or_bv);
+                                     const char *message, SCM port, SCM chr);
 SCM_INTERNAL void scm_decoding_error (const char *subr, int err,
                                      const char *message, SCM port);