public JNIResult AttachCurrentThread(out JNIEnv penv, JavaVMInitArgs* args) { if (attachCurrentThread == null) { Util.GetDelegateForFunctionPointer(functions.AttachCurrentThread, ref attachCurrentThread); } JNIEnv.Real* env; JNIResult result = attachCurrentThread.Invoke(real, out env, args); penv = new JNIEnv(env); return result; }
public static extern JNIResult JNI_CreateJavaVM(out JavaVM.Real* pvm, out JNIEnv.Real* penv, JavaVMInitArgs* args);