From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Peter TB Brett Newsgroups: gmane.lisp.guile.user Subject: Re: calling scheme procedures by name from C Date: Sun, 2 Aug 2009 19:51:21 +0000 (UTC) Message-ID: References: <1249204627.2918.56.camel@debianrts.home> <4A758E00.9040106@bioch.ox.ac.uk> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: ger.gmane.org 1249242717 978 80.91.229.12 (2 Aug 2009 19:51:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 2 Aug 2009 19:51:57 +0000 (UTC) To: guile-user@gnu.org Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sun Aug 02 21:51:50 2009 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.50) id 1MXh5y-0004yM-57 for guile-user@m.gmane.org; Sun, 02 Aug 2009 21:51:50 +0200 Original-Received: from localhost ([127.0.0.1]:34266 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MXh5x-0004SP-Dt for guile-user@m.gmane.org; Sun, 02 Aug 2009 15:51:49 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MXh5t-0004SC-D3 for guile-user@gnu.org; Sun, 02 Aug 2009 15:51:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MXh5p-0004Rz-Vh for guile-user@gnu.org; Sun, 02 Aug 2009 15:51:45 -0400 Original-Received: from [199.232.76.173] (port=59463 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MXh5p-0004Rw-Q3 for guile-user@gnu.org; Sun, 02 Aug 2009 15:51:41 -0400 Original-Received: from main.gmane.org ([80.91.229.2]:47599 helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MXh5o-0005dP-5b for guile-user@gnu.org; Sun, 02 Aug 2009 15:51:40 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1MXh5i-0003mm-LW for guile-user@gnu.org; Sun, 02 Aug 2009 19:51:34 +0000 Original-Received: from 78.32.4.81 ([78.32.4.81]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 02 Aug 2009 19:51:34 +0000 Original-Received: from peter by 78.32.4.81 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 02 Aug 2009 19:51:34 +0000 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 17 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 78.32.4.81 User-Agent: Pan/0.133 (House of Butterflies) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:7391 Archived-At: On Sun, 02 Aug 2009 14:00:48 +0100, Paul Emsley wrote: > and p.s. use the new style interface not the gh_* one. e.g. SCM arg1 = > scm_makfrom0str("hello"); I believe scm_makfrom0str is deprecated, and that new code should use scm_from_locale_string. Regards, Peter -- Peter Brett Remote Sensing Research Group Surrey Space Centre