This is the mail archive of the
guile@sourceware.cygnus.com
mailing list for the Guile project.
Re: GOOPS
- To: Bill Nell <bnell at mathworks dot com>
- Subject: Re: GOOPS
- From: Mikael Djurfeldt <mdj at mdj dot nada dot kth dot se>
- Date: 07 Oct 1999 09:23:02 +0200
- Cc: guile at sourceware dot cygnus dot com
- Cc: djurfeldt at nada dot kth dot se
- References: <Pine.SOL.4.10.9910062130310.20683-100000@madmax>
Bill Nell <bnell@mathworks.com> writes:
> Ok, stupid question: Where do I get the latest version of GOOPS? The
> one on ftp.gnu.org is 0.1.2 and I remember seeing that it is know up
> to 0.1.4?
Try
ftp://ftp.nada.kth.se/SANS/programs/guile/guile-oops-0.1.3i.tar.gz
The C-level interface is currently undocumented and experimental, but
it should work.
The principle is to use scm_make_class to create a class from the C
level and then populate it with slots using scm_add_slot.
There are some snarf macros is goops-snarf.h which are used in the
demo example fdi.c. You get fdi.c compiled and linked into guile-oops
if you give configure the option --enable-fdi-example.
Please tell me if there are any kinds of problems. The current C
interface is maybe not the best imaginable, but the basic framework of
GOOPS is good and has a great deal of power, so we should be able to
provide whatever functionality is needed.