The last element is the initializer for the array, I wrote an example of its
use here
http://developer.java.sun.com/developer/onlineTraining/Programming/JDCBook/jnistring.html
regards
calvin
Zhihong Pan wrote:
>
> Could anybody teach me hot to use NewObjectArray in jni ?
> jarray NewObjectArray(JNIEnv *env, jsize length, jclass elementClass, jobject
>initialElement);
> I'm really confused by the last parameters.
>
> Thanks,
>
> Zhihong Pan
> Chek, Inc
>
> ----------------------------------------------------------------------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]