From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Nic Ferrier Newsgroups: gmane.lisp.guile.user Subject: Re: pass a SCM value to a SCM proc from C Date: 27 Sep 2003 15:40:32 +0100 Sender: guile-user-bounces+guile-user=m.gmane.org@gnu.org Message-ID: <87y8wa1ehr.fsf@kanga.tapsellferrier.co.uk> References: <87llsc35di.fsf@kanga.tapsellferrier.co.uk> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1064673786 22331 80.91.224.253 (27 Sep 2003 14:43:06 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 27 Sep 2003 14:43:06 +0000 (UTC) Original-X-From: guile-user-bounces+guile-user=m.gmane.org@gnu.org Sat Sep 27 16:43:05 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1A3GHo-0004i2-00 for ; Sat, 27 Sep 2003 16:43:04 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.22) id 1A3GGb-0004D4-0W for guile-user@m.gmane.org; Sat, 27 Sep 2003 10:41:49 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.22) id 1A3GFX-0003qn-Qg for guile-user@gnu.org; Sat, 27 Sep 2003 10:40:43 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.22) id 1A3GFU-0003lP-6H for guile-user@gnu.org; Sat, 27 Sep 2003 10:40:41 -0400 Original-Received: from [217.34.135.17] (helo=tf1.tapsellferrier.co.uk) by monty-python.gnu.org with esmtp (Exim 4.22) id 1A3GFT-0003jg-CE for guile-user@gnu.org; Sat, 27 Sep 2003 10:40:39 -0400 Original-Received: from host217-34-135-22.in-addr.btopenworld.com ([217.34.135.22] helo=kanga.tapsellferrier.co.uk) by tf1.tapsellferrier.co.uk with esmtp (Exim 3.35 #1 (Debian)) id 1A3GFR-000434-00 for ; Sat, 27 Sep 2003 15:40:37 +0100 Original-Received: from localhost ([127.0.0.1] helo=kanga.tapsellferrier.co.uk ident=nferrier) by kanga.tapsellferrier.co.uk with esmtp (Exim 3.35 #1 (Debian)) id 1A3GFN-0005L2-00 for ; Sat, 27 Sep 2003 15:40:33 +0100 Original-To: guile-user@gnu.org In-Reply-To: <87llsc35di.fsf@kanga.tapsellferrier.co.uk> Original-Lines: 23 X-BeenThere: guile-user@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: General Guile related discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-user-bounces+guile-user=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.user:2262 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.user:2262 Nic Ferrier writes: > I have a slightly complicated requirement. > > >From C I want to: > > 1. init guile > 2. get a reference to a SCM proc > 3. make a SCM object from C > 4. call the SCM proc from (2) passing it the SCM object from (3) > > > I can't immediately see how to do this (though I can see how to do > steps 1. to 3.). > > Any suggestions would be greatly appreciated. It is, of course, scm_applyX where X is 0, 1, 2 etc... It's in the guile doc. Nic _______________________________________________ Guile-user mailing list Guile-user@gnu.org http://mail.gnu.org/mailman/listinfo/guile-user