Commit 23556585 authored by Max Kellermann's avatar Max Kellermann

java/Ref: add LocalRef::GetEnv()

parent 728e4e9a
......@@ -63,6 +63,10 @@ namespace Java {
LocalRef(const LocalRef &other) = delete;
LocalRef &operator=(const LocalRef &other) = delete;
JNIEnv *GetEnv() const noexcept {
return env;
}
T Get() const noexcept {
return value;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment