source:
trunk/src/gcc/libjava/testsuite/libjava.jni/overload.c@
1343
| Last change on this file since 1343 was 2, checked in by , 23 years ago | |
|---|---|
|
|
| File size: 210 bytes | |
| Line | |
|---|---|
| 1 | #include <overload.h> |
| 2 | |
| 3 | jint |
| 4 | Java_overload_over__I (JNIEnv *env, jclass klass, jint val) |
| 5 | { |
| 6 | return val; |
| 7 | } |
| 8 | |
| 9 | |
| 10 | jint |
| 11 | Java_overload_over__II (JNIEnv *env, jclass klass, jint one, jint two) |
| 12 | { |
| 13 | return one + two; |
| 14 | } |
| 15 | |
| 16 |
Note:
See TracBrowser
for help on using the repository browser.
