From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?iso-8859-1?Q?Court=E8s?=) Newsgroups: gmane.lisp.guile.user Subject: Re: What's the alternative for SCM_STRING_CHARS ? Date: Thu, 24 Feb 2011 11:50:01 +0100 Message-ID: <8762s9u2p2.fsf@gnu.org> References: <335547.82804.qm@web37904.mail.mud.yahoo.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1298544640 10091 80.91.229.12 (24 Feb 2011 10:50:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 24 Feb 2011 10:50:40 +0000 (UTC) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Thu Feb 24 11:50:37 2011 Return-path: Envelope-to: guile-user@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PsYmJ-0000lY-Dp for guile-user@m.gmane.org; Thu, 24 Feb 2011 11:50:35 +0100 Original-Received: from localhost ([127.0.0.1]:34484 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PsYmJ-0007Mw-3W for guile-user@m.gmane.org; Thu, 24 Feb 2011 05:50:35 -0500 Original-Received: from [140.186.70.92] (port=46035 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PsYm6-0007Mr-1O for guile-user@gnu.org; Thu, 24 Feb 2011 05:50:22 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PsYm4-00065P-0f for guile-user@gnu.org; Thu, 24 Feb 2011 05:50:21 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:43102) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PsYm3-00064k-Qv for guile-user@gnu.org; Thu, 24 Feb 2011 05:50:19 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PsYm0-0000eG-35 for guile-user@gnu.org; Thu, 24 Feb 2011 11:50:16 +0100 Original-Received: from 193.50.110.208 ([193.50.110.208]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 24 Feb 2011 11:50:16 +0100 Original-Received: from ludo by 193.50.110.208 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 24 Feb 2011 11:50:16 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 13 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 193.50.110.208 X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 6 =?iso-8859-1?Q?Vent=F4se?= an 219 de la =?iso-8859-1?Q?R=E9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu User-Agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux) Cancel-Lock: sha1:/iS2wmn9Yu6+3gtfj85EogK28qs= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.user:8464 Archived-At: Hello, Mike Gran writes: > There are the functions scm_to_locale_string, scm_to_latin1_string, > scm_to_stringn, and  scm_to_utf8_string.  But, unlike SCM_STRING_CHARS, > the results of these functions need to be freed. For the record scm_{to,from}_locale_string were already the only supported way of dealing with C strings in 1.8. Thanks, Ludo’.