#include "io_speice_Polyglot.h" const char message[] = "Hello, world!"; /* * Class: io_speice_Polyglot * Method: getMessage * Signature: ()Ljava/lang/String; */ JNIEXPORT jstring JNICALL Java_io_speice_Polyglot_getMessage(JNIEnv *env, jclass class) { return (*env)->NewStringUTF(env, message); }