OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-dev/] [or1k-gcc/] [libjava/] [testsuite/] [libjava.jni/] [jniutf.c] - Blame information for rev 765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 765 jeremybenn
#include <jniutf.h>
2
 
3
JNIEXPORT void JNICALL
4
Java_jniutf_printString (JNIEnv *env, jobject obj, jstring str)
5
{
6
  const char *cstr;
7
 
8
  cstr = (*env)->GetStringUTFChars (env, str, NULL);
9
  (*env)->ReleaseStringUTFChars (env, str, cstr);
10
}

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.