blob: 3fdec9b3e65be70230f397c352d535052e20f34a [file] [log] [blame] [edit]
// Copyright 2016 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build java
#include "jni_wrapper.h"
jint AttachCurrentThread(JavaVM *jvm, JNIEnv **env, void *args) {
return (*jvm)->AttachCurrentThread(jvm, (void **)env, args);
}
jint AttachCurrentThreadAsDaemon(JavaVM *jvm, JNIEnv **env, void *args) {
return (*jvm)->AttachCurrentThreadAsDaemon(jvm, (void **)env, args);
}