|
Last change
on this file was 1392, checked in by bird, 22 years ago |
|
This commit was generated by cvs2svn to compensate for changes in r1391,
which included commits to RCS files with non-trunk default branches.
|
-
Property cvs2svn:cvs-rev
set to
1.1.1.2
-
Property svn:eol-style
set to
native
-
Property svn:executable
set to
*
|
|
File size:
246 bytes
|
| Line | |
|---|
| 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 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.