mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-17 09:10:22 +02:00
* strings.h, strings.c (scm_i_get_substring_spec): New.
* socket.c, rw.c, deprecated.h, validate.h (SCM_VALIDATE_STRING_COPY): Deprecated. Replaced all uses with SCM_VALIDATE_STRING plus SCM_I_STRING_CHARS or scm_to_locale_string, etc. (SCM_VALIDATE_SUBSTRING_SPEC_COPY): Deprecated. Replaced as above, plus scm_i_get_substring_spec.
This commit is contained in:
parent
396e5506d6
commit
6f14f578d2
4 changed files with 50 additions and 25 deletions
|
@ -72,6 +72,9 @@ SCM_API size_t scm_to_locale_stringbuf (SCM str, char *buf, size_t max_len);
|
|||
|
||||
SCM_API char **scm_i_allocate_string_pointers (SCM list);
|
||||
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 void scm_init_strings (void);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue