java/Ref: add LocalRef::GetEnv()
This commit is contained in:
parent
728e4e9a38
commit
23556585ca
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue