This is the mail archive of the
mailing list for the Guile project.
Re: C++ clases and GOOPS
- To: Martin Soto <email@example.com>
- Subject: Re: C++ clases and GOOPS
- From: Mikael Djurfeldt <firstname.lastname@example.org>
- Date: 27 Aug 1999 21:55:17 +0200
- Cc: email@example.com
- Cc: firstname.lastname@example.org
- References: <email@example.com>
Martin Soto <firstname.lastname@example.org> writes:
> I have a bunch of C++ classes that I would like to embed into Guile.
> I want to keep the object oriented features when using them from
> Scheme, so it seems to me that GOOPS may be helpful. Is it possible
> to create GOOPS classes directly from C or C++? If so, where can I
> find documentation or sample code to learn how to do this?
There is some experimental code for this, but unfortunately no
See the file fdi.c.
You can compile it into guile-oops by using the configuration option
There is a known bug in this code: getters, setters, and accessors
work, while slot-ref|set! doesn't. This will hopefully be fixed soon.