diff options
author | Stefan Jahn <stefan@lkcc.org> | 2001-12-08 12:50:37 +0000 |
---|---|---|
committer | Stefan Jahn <stefan@lkcc.org> | 2001-12-08 12:50:37 +0000 |
commit | 4d4528e79a13ac73e4278fe877a8a37bdc260240 (patch) | |
tree | 6cd3f7ba2b4261679a2037028ff4072a9aefa57e /libguile/strings.h | |
parent | a7a7bb95eb2d62ceeac14b236c5b6c9f80b002af (diff) | |
download | guile-4d4528e79a13ac73e4278fe877a8a37bdc260240.tar.gz |
2001-12-08 Stefan Jahn <stefan@lkcc.org>
* strings.c (scm_c_string2str): New function. Converts a
given Scheme string into a C string. Also put in two
THINKME's regarding the malloc policy for the missing converter
routines.
Diffstat (limited to 'libguile/strings.h')
-rw-r--r-- | libguile/strings.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libguile/strings.h b/libguile/strings.h index e7952cae2..ea1bf7132 100644 --- a/libguile/strings.h +++ b/libguile/strings.h @@ -78,6 +78,7 @@ SCM_API SCM scm_string_set_x (SCM str, SCM k, SCM chr); SCM_API SCM scm_substring (SCM str, SCM start, SCM end); SCM_API SCM scm_string_append (SCM args); SCM_API void scm_init_strings (void); +SCM_API char *scm_c_string2str (SCM obj, char *str, size_t *lenp); |