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
/
pr18278.c
1
#include <jni.h>
2
#include <stdio.h>
3
4
#include
"pr18278.h"
5
6
jobject
Java_pr18278_weakRef
(
JNIEnv
*
env
,
jclass cls
,
jobject data
)
7
{
8
jobject r
= (*
env
)->
NewWeakGlobalRef
(
env
,
data
);
9
return
r
;
10
}