[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Exposing `scm_i_mem2number ()'
From: |
Ludovic Courtès |
Subject: |
Exposing `scm_i_mem2number ()' |
Date: |
Wed, 15 Feb 2006 16:57:14 +0100 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) |
Hi,
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?
Suggestions?
Thanks,
Ludovic.
- Exposing `scm_i_mem2number ()',
Ludovic Courtès <=