[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: creating classes in an extension

At Tue, 2 Apr 2002 14:05:53 -0800 (PST), Ron Stanonik wrote:
> I would like to create scheme classes in an extension (written in C/C++).
> In plt-103 there was a C library to create classes, but not in plt-200.
> What's recommended in plt-200?  Create scheme structures in the extension
> (there is a C library for that) and then create classes from the structures
> in scheme using the class system in mzlib?


> Any examples I can study?

There's an example: plt/collects/mzscheme/tree.cxx       with

But it looks like I never documented `make-primitive-class' from
"class.ss", and much of the glue code in "tree.cxx" is probably
mysterious. I'll work on those sometime soon.