Gitiles
Code Review
Sign In
gerrit.onosproject.org
/
onos-felix
/
75f8cf4d8c2710d51d411111a237c844036034dc
/
.
/
examples
/
simple
/
native
/
simple_bundle_foo_method.c
blob: 90f5a1c38c4804e27f4f3f86eae1c05071a7936b [
file
] [
log
] [
blame
]
#include
"org_apache_felix_examples_simple_Activator.h"
JNIEXPORT jstring JNICALL
Java_org_apache_felix_examples_simple_Activator_foo
(
JNIEnv
*
env
,
jobject obj
)
{
char
*
cstr
=
"Hello!"
;
jstring jstr
=
(*
env
)->
NewStringUTF
(
env
,
cstr
);
return
jstr
;
}