From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludovic.courtes@laas.fr (Ludovic =?iso-8859-1?Q?Court=E8s?=) Newsgroups: gmane.lisp.guile.devel Subject: Exposing `scm_i_mem2number ()' Date: Wed, 15 Feb 2006 16:57:14 +0100 Organization: LAAS-CNRS Message-ID: <87d5holin9.fsf@laas.fr> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1140029762 13820 80.91.229.2 (15 Feb 2006 18:56:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 15 Feb 2006 18:56:02 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Wed Feb 15 19:56:01 2006 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1F9Roj-0006el-98 for guile-devel@m.gmane.org; Wed, 15 Feb 2006 19:56:00 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F9Roi-0005FI-3z for guile-devel@m.gmane.org; Wed, 15 Feb 2006 13:55:56 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1F9PA4-0008VC-NB for guile-devel@gnu.org; Wed, 15 Feb 2006 11:05:50 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1F9PA1-0008Rp-Gq for guile-devel@gnu.org; Wed, 15 Feb 2006 11:05:46 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1F9P2F-0002i4-Hl for guile-devel@gnu.org; Wed, 15 Feb 2006 10:57:44 -0500 Original-Received: from [140.93.0.15] (helo=laas.laas.fr) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1F9P7B-0001Ta-0P for guile-devel@gnu.org; Wed, 15 Feb 2006 11:02:49 -0500 Original-Received: by laas.laas.fr (8.13.1/8.13.4) with SMTP id k1FFvaQY005894; Wed, 15 Feb 2006 16:57:38 +0100 (CET) Original-To: guile-devel@gnu.org X-URL: http://www.laas.fr/~lcourtes/ X-Revolutionary-Date: 27 =?iso-8859-1?Q?Pluvi=F4se?= an 214 de la =?iso-8859-1?Q?R=E9volution?= X-PGP-Key-ID: 0xEB1F5364 X-PGP-Key: http://www.laas.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 821D 815D 902A 7EAB 5CEE D120 7FBA 3D4F EB1F 5364 X-OS: powerpc-unknown-linux-gnu Mail-Followup-To: guile-devel@gnu.org User-Agent: Gnus/5.110004 (No Gnus v0.4) Emacs/21.4 (gnu/linux) X-Spam-Score: 0 () X-Scanned-By: MIMEDefang at CNRS-LAAS X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:5717 Archived-At: 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. _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel