[1314] in java-interest
Re: "perform:" and Java
daemon@ATHENA.MIT.EDU (David Griffiths)
Tue Aug 29 18:30:31 1995
From: David Griffiths <dave@prim.demon.co.uk>
Date: Tue, 29 Aug 95 20:05:02 +0100
To: Doug Lea <dl@altair.cs.oswego.edu>
Cc: java-interest@java.sun.com
Hi, I missed the beginning of this discussion but I just came across the
following function in the Java interpreter:
/* Call an Java method from C. The java method may have any number of
arguments
* and may return a single 4 byte value which may be an integer, a pointer to
* an object handle, whatever.
*/
long
execute_java_dynamic_method(ExecEnv *ee, HObject *obj,
char *method_name, char *signature, ...)
(Hope this doesn't violate the source license rules!)
So couldn't you use this to add a native perform method to Object? It
appears as though the Tcl stuff makes use of it.
Dave
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com