The dummy scm_init_* and scm_c_init_* functions in the empty libraries
for SRFIs 4, 13 and 14 clash with declarations with the same names in
libguile.h that are marked (in the MinGW build) with __declspec
(dllimport). These libraries are empty because their content was
moved into libguile some time ago, and I think these functions are
needed only so that the libraries appear to contain something. They
used also to be needed for the (load-extension ...) forms in the
corresponding .scm modules, but those forms were not needed anymore,
and so were removed, when everything moved into libguile.
* srfi/srfi-13.c (scm_init_srfi_13_no_clash_with_libguile): Renamed
from scm_init_srfi_13.
(scm_init_srfi_13_14_no_clash_with_libguile): Same.
* srfi/srfi-14.c (scm_init_srfi_14_no_clash_with_libguile): Same.
(scm_c_init_srfi_14_no_clash_with_libguile): Same.
* srfi/srfi-4.c (scm_init_srfi_4_no_clash_with_libguile): Same.
before converting to unsigned int. This prevents hi-bit ascii as
being converted large integers.
(string_upcase_x): change caller for scm_{up,down}case to
scm_c_{up,down}case
* chars.h (scm_init_chars): change scm_{upcase,downcase} to
scm_c_{up,down}case.
(SCM_MAKE_CHAR): add (unsigned char) cast. This prevents havoc
when hi-bit ASCII is subjected to SCM_MAKE_CHAR().
Collect characters belonging to this set into tokens (as specified by
the SRFI), instead of splitting at these characters. Default to an
equivalent of char-set:graphic instead of everything-but-whitespace.
Thanks to Matthias Koeppe!
proc args to conform with the srfi. (Thanks to Alex Shinn.)
* srfi-13.c (string-map): Swapped order of string and proc args to
conform with the srfi. (Thanks to Alex Shinn.)
to Rob Browning for spotting this.
* srfi-13.scm (string-concatenate-reverse),
(string-concatenate-reverse/shared): Rename from
reverse-string-concatenate[/shared].
* srfi-13.c (scm_string_concatenate_reverse_shared): Renamed from
scm_reverse_string_concatenate_shared.
(scm_string_concatenate_reverse): Renamed from
scm_reverse_string_concatenate.
when using memmove().
* srfi-14.h: Added prototypes for all exported procedures..
* srfi-13.c: Include srfi-13.h
* srfi-13.h: New file containing the prototypes.
* Makefile.am: Removed guile-srfi.texi and info_TEXINFOS variable.
(libguile_srfi_srfi_13_14_la_SOURCES): Added srfi-14.h, so it gets
distributed.
(libguile_srfi_srfi_13_14_la_SOURCES): Added srfi-13.h.