projects
/
gcc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
2007-02-13 Andrew Haley <aph@redhat.com>
[gcc.git]
/
libjava
/
testsuite
/
libjava.jni
/
jniutf.c
1
#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
}