[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Exposing `scm_i_mem2number ()'

From: Kevin Ryde
Subject: Re: Exposing `scm_i_mem2number ()'
Date: Thu, 16 Feb 2006 09:11:02 +1100
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux)

address@hidden (Ludovic Courtès) writes:
> However, due to the eventual support for various encodings, we'd rather
> need to have something like `scm_c_locale_string_to_number ()'.

That could be more relaxed than specifically the "locale" encoding.
If all valid numbers are ascii then it doesn't matter what the
extended characters are, they're all invalid.  (For ascii-compatible
encodings, of course.)  Maybe scm_c_ascii_string_to_number.

> Should it be documented as the number of chars (not octets) that compose
> the string?

I think bytes is usual.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]