mirror of
https://github.com/autc04/Retro68.git
synced 2024-12-11 19:49:32 +00:00
11 lines
236 B
C
11 lines
236 B
C
#include <jniutf.h>
|
|
|
|
JNIEXPORT void JNICALL
|
|
Java_jniutf_printString (JNIEnv *env, jobject obj, jstring str)
|
|
{
|
|
const char *cstr;
|
|
|
|
cstr = (*env)->GetStringUTFChars (env, str, NULL);
|
|
(*env)->ReleaseStringUTFChars (env, str, cstr);
|
|
}
|