This is the mail archive of the java@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: JNI in GCJ 3.2 for Win32


Anthony Green wrote:
On Thu, 2002-11-07 at 22:03, Ranjit Mathew wrote:

The _Jv_LookupJNIMethod( ) function in jni.cc needs to be
able to construct this to look up the symbol properly, but
it does not know how many bytes would be taken up by the
arguments. :-(

Oh, gross.  Well - I suppose we could add an API to libffi which returns
this number.  Any other ideas out there?
I can probably add another argument to _Jv_LookupJNIMethod( )
passing it the value of "args_raw_size" of the _Jv_JNIMethod
object "_this" in _Jv_JNIMethod::call( ).

Would that be acceptable?

Ranjit.

--
Ranjit Mathew          Email: rmathew AT hotmail DOT com

Bangalore, INDIA.      Web: http://ranjitmathew.tripod.com/




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]