source: trunk/gcc/libjava/testsuite/libjava.jni/simple_int.c

Last change on this file was 1392, checked in by bird, 21 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: 129 bytes
Line 
1#include <simple_int.h>
2
3JNIEXPORT jint JNICALL
4Java_simple_1int_nat (JNIEnv *env, jclass klass, jint val)
5{
6 return 2 * val;
7}
Note: See TracBrowser for help on using the repository browser.