unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* calling define-class function from C++ source file
@ 2003-10-17  9:52 Laurent Marzullo
  2003-10-17 12:12 ` Andreas Rottmann
  0 siblings, 1 reply; 2+ messages in thread
From: Laurent Marzullo @ 2003-10-17  9:52 UTC (permalink / 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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-10-17 12:12 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-10-17  9:52 calling define-class function from C++ source file Laurent Marzullo
2003-10-17 12:12 ` Andreas Rottmann

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).