From bd942a7ac2d1cdc852d28c3eabc5795f20fcd48d Mon Sep 17 00:00:00 2001 From: "beard%netscape.com" Date: Sat, 3 Oct 1998 03:16:30 +0000 Subject: [PATCH] Added NewObjectArray, changed NewArray. --- modules/oji/public/nsISecureJNI2.h | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/modules/oji/public/nsISecureJNI2.h b/modules/oji/public/nsISecureJNI2.h index 3d8a841dd784..60b9126fea1b 100644 --- a/modules/oji/public/nsISecureJNI2.h +++ b/modules/oji/public/nsISecureJNI2.h @@ -275,6 +275,11 @@ public: NS_IMETHOD GetArrayLength(/*[in]*/ jarray array, /*[out]*/ jsize* result) = 0; + NS_IMETHOD NewObjectArray(/*[in]*/ jsize len, + /*[in]*/ jclass clazz, + /*[in]*/ jobject init, + /*[out]*/ jobjectArray* result) = 0; + NS_IMETHOD GetObjectArrayElement(/*[in]*/ jobjectArray array, /*[in]*/ jsize index, /*[out]*/ jobject* result) = 0; @@ -283,10 +288,8 @@ public: /*[in]*/ jsize index, /*[in]*/ jobject val) = 0; - NS_IMETHOD NewArray(/*[in]*/ jni_type type, + NS_IMETHOD NewArray(/*[in]*/ jni_type element_type, /*[in]*/ jsize len, - /*[in]*/ jclass clazz, - /*[in]*/ jobject init, /*[out]*/ jarray* result) = 0; NS_IMETHOD GetArrayElements(/*[in]*/ jni_type type,