repo.or.cz
/
official-gcc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
2003-12-26 Guilhem Lavaux <guilhem@kaffe.org>
[official-gcc.git]
/
libjava
/
testsuite
/
libjava.jni
/
overload.c
blob
4e7a2d9289b9eadc615774da64d9f8dae5100ca1
1
#include <overload.h>
2
3
JNIEXPORT jint JNICALL
4
Java_overload_over__I
(
JNIEnv
*
env
,
jclass klass
,
jint val
)
5
{
6
return
val
;
7
}
8
9
10
JNIEXPORT jint JNICALL
11
Java_overload_over__II
(
JNIEnv
*
env
,
jclass klass
,
jint one
,
jint two
)
12
{
13
return
one
+
two
;
14
}
15
16