[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GCJ jni.h fixes
From: |
Brian Jones |
Subject: |
Re: GCJ jni.h fixes |
Date: |
27 Oct 2001 21:03:28 -0400 |
User-agent: |
Gnus/5.0803 (Gnus v5.8.3) Emacs/20.7 |
Tom Tromey <address@hidden> writes:
> >>>>> "Brian" == Brian Jones <address@hidden> writes:
>
> Brian> DefineClass missing const char * argument
>
> We have this:
>
> jclass (*DefineClass) (JNIEnv *, jobject,
> const jbyte *, jsize);
>
> To me this looks the same as the JNI spec:
>
>
> http://java.sun.com/products/jdk/1.2/docs/guide/jni/spec/functions.doc.html#15986
>
> Brian> GetStringUTFChars return type is const jbyte *, not const char*
>
> We comply with the JNI 1.2 spec:
>
>
> http://java.sun.com/products/jdk/1.2/docs/guide/jni/spec/functions.doc.html#17265
>
> Where are you looking?
I'm looking in "The Java Native Interface" ISBN 0-201-32577-2, in
which I have found one error with regards to function index so it is
possible these are errors as well, maybe not.
Brian
--
Brian Jones <address@hidden>