We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 58d862c commit 3a0acf1Copy full SHA for 3a0acf1
library/src/main/cpp/jni_utils.h
@@ -141,8 +141,14 @@ namespace jni_utils {
141
return env->NewObject(bytes_clazz.get(), init, bytes_array.get());
142
}
143
144
+ /**
145
+ * Create a Kotlin Pair object
146
+ */
147
jobject new_kotlin_pair(JNIEnv *env, jobject first, jobject second);
148
149
150
+ * A RAII wrapper for a Java byte array. This will automatically release the byte array when it goes out of scope.
151
152
class JavaByteArrayRef {
153
JNIEnv *env;
154
jbyteArray byte_array;
0 commit comments