summaryrefslogtreecommitdiff
path: root/libguile/regex-posix.c
diff options
context:
space:
mode:
authorAndy Wingo <wingo@pobox.com>2011-01-05 18:21:54 -0600
committerAndy Wingo <wingo@pobox.com>2011-01-07 09:18:36 -0800
commitd40e1ca893149e9781bad54ac1e39d03e7be988f (patch)
tree65d09a9a0a194ee7dad0275c11f93cf8836d9457 /libguile/regex-posix.c
parent929ccf48fc4bada585b29b3887f295bfcc1dcdaa (diff)
downloadguile-d40e1ca893149e9781bad54ac1e39d03e7be988f.tar.gz
add scm_{to,from}_{utf8,latin1}_string{n,}
* libguile/strings.h: * libguile/strings.c (scm_from_latin1_string, scm_to_latin1_string): New functions, in terms of the latin1_stringn variants. (scm_from_utf8_string, scm_from_utf8_stringn) (scm_to_utf8_string, scm_to_utf8_stringn): New functions. (scm_i_from_utf8_string, scm_i_to_utf8_string): Removed these internal functions. (scm_from_stringn): Handle -1 as a length. Unlike the previous behavior of scm_from_locale_string (NULL), which returned the empty string, we now raise an error. The null pointer is not the same as the empty string. * libguile/stime.c (scm_strftime, scm_strptime): Adapt to publishing of utf8 functions.
Diffstat (limited to 'libguile/regex-posix.c')
0 files changed, 0 insertions, 0 deletions