Internally expose `scm_i_unistring_escapes_to_{guile,r6rs}_escapes'.

* libguile/strings.c (unistring_escapes_to_guile_escapes): Rename to...
  (scm_i_unistring_escapes_to_guile_escapes): ... this.  Change `char **bufp'
  to `char *buf'; leave realloc responsibility to the caller.  Update caller.
  (unistring_escapes_to_r6rs_escapes): Rename to...
  (scm_i_unistring_escapes_to_r6rs_escapes): ... this.  Likewise.
This commit is contained in:
Ludovic Courtès 2010-09-14 16:04:26 +02:00
commit 4ff2b9f4b6
2 changed files with 15 additions and 11 deletions

View file

@ -204,6 +204,10 @@ SCM_INTERNAL char **scm_i_allocate_string_pointers (SCM list);
SCM_INTERNAL void scm_i_get_substring_spec (size_t len,
SCM start, size_t *cstart,
SCM end, size_t *cend);
SCM_INTERNAL void scm_i_unistring_escapes_to_guile_escapes (char *buf,
size_t *len);
SCM_INTERNAL void scm_i_unistring_escapes_to_r6rs_escapes (char *buf,
size_t *len);
/* Debugging functions */