[EMAIL PROTECTED] (Ludovic Courtès) writes: > I think it'd be nice to export `scm_i_mem2number ()'. My initial plan > was to just rename it `scm_c_string_to_number ()' and document it. > > However, due to the eventual support for various encodings, we'd rather > need to have something like `scm_c_locale_string_to_number ()'. The > problem is: how do we handle the LEN argument for arbitrary encodings? > Should it be documented as the number of chars (not octets) that compose > the string?
I'd make it the number of octets, to remain in sync with scm_from_locale_stringn, etc. > Suggestions? But, what about scm_string_to_number (scm_from_locale_string (...))? Isn't that good enough? -- GPG: D5D4E405 - 2F9B BCCC 8527 692A 04E3 331E FAF8 226A D5D4 E405 _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel