diff options
author | Han-Wen Nienhuys <hanwen@lilypond.org> | 2006-01-24 20:30:09 +0000 |
---|---|---|
committer | Han-Wen Nienhuys <hanwen@lilypond.org> | 2006-01-24 20:30:09 +0000 |
commit | fd0a5bbcb7922fe35a13d1cc87216c6b93f2251e (patch) | |
tree | 0addd243ee1258981dae2cb0dd65a7cec391a8d3 /libguile/strings.h | |
parent | 2ca2ffe6b26556dc01677fe0e360f46f30ca8cfd (diff) | |
download | guile-fd0a5bbcb7922fe35a13d1cc87216c6b93f2251e.tar.gz |
patches by Ludovic Courtès for symbol generation.
Diffstat (limited to 'libguile/strings.h')
-rw-r--r-- | libguile/strings.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libguile/strings.h b/libguile/strings.h index a2ec51ae9..a8a7af670 100644 --- a/libguile/strings.h +++ b/libguile/strings.h @@ -124,6 +124,12 @@ SCM_API void scm_i_string_stop_writing (void); SCM_API SCM scm_i_make_symbol (SCM name, scm_t_bits flags, unsigned long hash, SCM props); +SCM_API SCM +scm_i_c_make_symbol (const char *name, size_t len, + scm_t_bits flags, unsigned long hash, SCM props); +SCM_API SCM +scm_i_c_take_symbol (char *name, size_t len, + scm_t_bits flags, unsigned long hash, SCM props); SCM_API const char *scm_i_symbol_chars (SCM sym); SCM_API size_t scm_i_symbol_length (SCM sym); SCM_API SCM scm_i_symbol_substring (SCM sym, size_t start, size_t end); @@ -144,6 +150,7 @@ SCM_API void scm_i_free_string_pointers (char **pointers); SCM_API void scm_i_get_substring_spec (size_t len, SCM start, size_t *cstart, SCM end, size_t *cend); +SCM_API SCM scm_i_take_stringbufn (char *str, size_t len); /* deprecated stuff */ |