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

Re: a table of c funtion pointers



Futeh Kao <futeh@austin.rr.com> writes:

> When I call JNI_CreateJavaVM, essentially I get a table of function
> pointers back, stored in jenv.  How do I define the table.

I think the JNIEnv function pointer table is modelled to be like a COM
interface. I've used JNI from Lisp by using the Lisp COM support with
the JNIEnv pointer so you may be able to do the same thing from
Dylan. In any case, what you want to do is similar to the way COM does
things so you could look at the OLE/COM source code that ships with FD
for ideas perhaps.

Chris.
-- 
http://www.double.co.nz/dylan



References: