summaryrefslogtreecommitdiffstats
path: root/runtime/jni_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/jni_internal.h')
-rw-r--r--runtime/jni_internal.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtime/jni_internal.h b/runtime/jni_internal.h
index 888d5e5458..96f7ae0975 100644
--- a/runtime/jni_internal.h
+++ b/runtime/jni_internal.h
@@ -162,6 +162,9 @@ struct JNIEnvExt : public JNIEnv {
return Offset(OFFSETOF_MEMBER(JNIEnvExt, self));
}
+ jobject NewLocalRef(mirror::Object* obj) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
+ void DeleteLocalRef(jobject obj) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_);
+
Thread* const self;
JavaVMExt* vm;