[MLton-user] Java and MLton

Andrei de A. Formiga archimedes_siracusa@yahoo.com
Fri, 11 Jun 2004 07:36:46 -0700 (PDT)


--- Stephen Weeks <sweeks@sweeks.com> wrote:
> 
> Were I to add such a feature, I would
> certainly try to make
> the library interface look just like a C library's,
> so I would think
> it would be enough for what you want.

   All it's needed for calling a native method with
JNI is a dynamically loaded library which contains a
function that implements the method, with 2
constraints: the function must follow the standard C
calling conventions and it must be named according to
JNI naming rules (which depend on how it's named in
the Java side). 

---
[]s, Andrei Formiga



	
		
__________________________________
Do you Yahoo!?
Friends.  Fun.  Try the all-new Yahoo! Messenger.
http://messenger.yahoo.com/