2 #ifndef _MADARA_JAVA_ACQUIRE_VM_H_
3 #define _MADARA_JAVA_ACQUIRE_VM_H_
5 #include "madara_jni.h"
43 env = madara_jni_get_env();
This class encapsulates attaching and detaching to a VM.
Acquire_VM(bool no_detach=false)
Constructor.
JNIEnv * env
The Java environment.
bool needs_detach
Flag for determining whether to call detach in destructor.
Provides utility functions and classes for common tasks and needs.
Copyright(c) 2020 Galois.