From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Kjetil S. Matheussen" Newsgroups: gmane.lisp.guile.devel Subject: Re: scm_i_* in Snd Date: Sun, 01 Jun 2008 22:31:49 +0200 (CEST) Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7BIT X-Trace: ger.gmane.org 1212352406 5725 80.91.229.12 (1 Jun 2008 20:33:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 1 Jun 2008 20:33:26 +0000 (UTC) To: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sun Jun 01 22:34:07 2008 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1K2uFh-0004cs-6B for guile-devel@m.gmane.org; Sun, 01 Jun 2008 22:34:05 +0200 Original-Received: from localhost ([127.0.0.1]:39801 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K2uEv-0001Qn-2s for guile-devel@m.gmane.org; Sun, 01 Jun 2008 16:33:17 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K2uEp-0001QP-IG for guile-devel@gnu.org; Sun, 01 Jun 2008 16:33:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K2uEl-0001QC-TD for guile-devel@gnu.org; Sun, 01 Jun 2008 16:33:11 -0400 Original-Received: from [199.232.76.173] (port=43748 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K2uEl-0001Q9-Nj for guile-devel@gnu.org; Sun, 01 Jun 2008 16:33:07 -0400 Original-Received: from smtp.getmail.no ([84.208.20.33]:38286) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K2uEi-0002d4-EK for guile-devel@gnu.org; Sun, 01 Jun 2008 16:33:05 -0400 Original-Received: from pmxchannel-daemon.no-osl-m323-srv-009-z2.isp.get.no by no-osl-m323-srv-009-z2.isp.get.no (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) id <0K1S00J0PX2HVL00@no-osl-m323-srv-009-z2.isp.get.no> for guile-devel@gnu.org; Sun, 01 Jun 2008 22:32:41 +0200 (CEST) Original-Received: from smtp.getmail.no ([10.5.16.1]) by no-osl-m323-srv-009-z2.isp.get.no (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with ESMTP id <0K1S008IOX1AMQ50@no-osl-m323-srv-009-z2.isp.get.no> for guile-devel@gnu.org; Sun, 01 Jun 2008 22:31:58 +0200 (CEST) Original-Received: from cm-84.215.136.96.getinternet.no ([84.215.136.96]) by no-osl-m323-srv-009-z1.isp.get.no (Sun Java System Messaging Server 6.2-7.05 (built Sep 5 2006)) with ESMTP id <0K1S0005IX1AIH45@no-osl-m323-srv-009-z1.isp.get.no> for guile-devel@gnu.org; Sun, 01 Jun 2008 22:31:58 +0200 (CEST) In-reply-to: X-X-Sender: kjetil@ttleush X-detected-kernel: by monty-python.gnu.org: Solaris 10 (beta) 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:7294 Archived-At: Bill Schottstaedt: > >> `scm_i_string_chars ()' is used by Mailutils, Lilypond, AutoGen, SND > > I'm not knowingly using any scm_i_* entities in Snd. I removed the > scm_i_procedure_arity use, and I think the SCM_STRING_CHARS macro > is only used if it is defined. > Well, I'm using scm_i_string_chars in eval-c.scm, so that's probably explains Ludovic's hit. eval-c.scm contains these lines: "#ifdef SCM_STRING_CHARS" "# define GET_STRING(a) (scm_is_false(a)?NULL:(char*)SCM_STRING_CHARS(a))" "#else" "# define GET_STRING(a) (scm_is_false(a)?NULL:(char*)scm_i_string_chars(a))" "#endif" Is this okay, and in case not, is there a better way to convert a char* into a guile string?