From: Laurent Marzullo <marzullo@la-defense.oilfield.slb.com>
Subject: calling define-class function from C++ source file
Date: Fri, 17 Oct 2003 11:52:04 +0200 [thread overview]
Message-ID: <1066384323.28107.40.camel@MARZULLO-MIS> (raw)
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 <MyClass> ()
(r #:init-value 0))
Could someone show me how to write this Scheme statment from
C/C++ ???
Thank you very much.
--
Laurent Marzullo <marzullo@la-defense.oilfield.slb.com>
_______________________________________________
Guile-devel mailing list
Guile-devel@gnu.org
http://mail.gnu.org/mailman/listinfo/guile-devel
next reply other threads:[~2003-10-17 9:52 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-17 9:52 Laurent Marzullo [this message]
2003-10-17 12:12 ` calling define-class function from C++ source file Andreas Rottmann
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1066384323.28107.40.camel@MARZULLO-MIS \
--to=marzullo@la-defense.oilfield.slb.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).