From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Laurent Marzullo Newsgroups: gmane.lisp.guile.devel Subject: calling define-class function from C++ source file Date: Fri, 17 Oct 2003 11:52:04 +0200 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <1066384323.28107.40.camel@MARZULLO-MIS> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7BIT X-Trace: sea.gmane.org 1066384752 9456 80.91.224.253 (17 Oct 2003 09:59:12 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 17 Oct 2003 09:59:12 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Fri Oct 17 11:59:08 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 1AARNz-0007T0-01 for ; Fri, 17 Oct 2003 11:59:07 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AARMZ-0002OR-OZ for guile-devel@m.gmane.org; Fri, 17 Oct 2003 05:57:39 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.24) id 1AARMU-0002OC-Bi for guile-devel@gnu.org; Fri, 17 Oct 2003 05:57:34 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.24) id 1AARLy-0002Fr-8J for guile-devel@gnu.org; Fri, 17 Oct 2003 05:57:33 -0400 Original-Received: from [134.32.26.55] (helo=mail.slb.com) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AARLx-0002FI-If for guile-devel@gnu.org; Fri, 17 Oct 2003 05:57:01 -0400 Original-Received: from conversion-daemon.eurmta01.london.eur.slb.com by eurmta01.london.eur.slb.com (iPlanet Messaging Server 5.2 HotFix 1.12 (built Feb 13 2003)) id <0HMW00901BFQ5I@eurmta01.london.eur.slb.com> for guile-devel@gnu.org; Fri, 17 Oct 2003 09:57:00 +0000 (GMT) Original-Received: from snmsu2.montrouge.omnes.slb.com (snmsu2.montrouge.omnes.slb.com [163.187.152.4]) by eurmta01.london.eur.slb.com (iPlanet Messaging Server 5.2 HotFix 1.12 (built Feb 13 2003)) with ESMTP id <0HMW00M1VBLYWL@eurmta01.london.eur.slb.com> for guile-devel@gnu.org; Fri, 17 Oct 2003 09:56:22 +0000 (GMT) Original-Received: from snmsu1.montrouge.omnes.slb.com (snmsu1 [163.187.152.2]) by snmsu2.montrouge.omnes.slb.com (8.12.10/8.12.6) with ESMTP id h9H9sKBm009009 for ; Fri, 17 Oct 2003 11:54:20 +0200 (MET DST) Original-Received: from dhcp-90-037.la-defense.eur.slb.com (dhcp-90-037.la-defense.eur.slb.com [163.187.90.37]) by snmsu1.montrouge.omnes.slb.com (8.12.10/8.12.6) with ESMTP id h9H9sJ1I017082 for ; Fri, 17 Oct 2003 11:54:19 +0200 (MET DST) Original-To: "Guile (Devel)" X-Mailer: Ximian Evolution 1.4.4 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Developers list for Guile, the GNU extensibility library List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:2891 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:2891 Hello, Could anyone give me an example of how to call the function define-class from C++ once the goop module has been loaded. // C++ scm_load_goops(); scm_apply( ??????? ); In fact I would like to write in C++ the following statment (define-class () (r #:init-value 0)) Could someone show me how to write this Scheme statment from C/C++ ??? Thank you very much. -- Laurent Marzullo _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel