Sign in
bazel
/
bazel
/
b9847161fa972c3afa76f0dcf7d5d81f9e52ccc6
/
.
/
examples
/
android
/
java
/
bazel
/
jni.cc
blob: 7a6cf865e4ae23a722984597e62a3ba633f0a6b4 [
file
] [
log
] [
blame
]
#include
<jni.h>
#include
"examples/android/java/bazel/jni_dep.h"
const
char
*
hello
=
"Hello JNI"
;
extern
"C"
JNIEXPORT jstring JNICALL
Java_bazel_Jni_hello
(
JNIEnv
*
env
,
jclass clazz
)
{
return
NewStringLatin1
(
env
,
hello
);
}