Richard S. Hall | d9c80e4 | 2006-10-17 18:16:07 +0000 | [diff] [blame] | 1 | #include "org_apache_felix_simple_Activator.h" |
2 | |||||
3 | JNIEXPORT jstring JNICALL | ||||
4 | Java_org_apache_felix_simple_Activator_foo | ||||
5 | (JNIEnv *env, jobject obj) | ||||
6 | { | ||||
7 | char *cstr = "Hello!"; | ||||
8 | jstring jstr = (*env)->NewStringUTF(env, cstr); | ||||
9 | return jstr; | ||||
10 | } |