// Copyright 2015 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 | |
package jni | |
import ( | |
"unsafe" | |
jutil "v.io/x/jni/util" | |
_ "v.io/x/ref/runtime/factories/roaming" | |
) | |
// #include "jni.h" | |
import "C" | |
//export Java_io_v_v23_V_nativeInit | |
func Java_io_v_v23_V_nativeInit(jenv *C.JNIEnv, jVRuntimeClass C.jclass) { | |
env := jutil.Env(uintptr(unsafe.Pointer(jenv))) | |
setupUtil(env) | |
setupV23(env) | |
} | |
func main() { | |
} |