URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Subversion Repositories openrisc
[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [testsuite/] [libjava.jni/] [jniutf.c] - Rev 765
Compare with Previous | Blame | View Log
#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); }