simple_int.c 129 B

12345678
  1. #include <simple_int.h>
  2. JNIEXPORT jint JNICALL
  3. Java_simple_1int_nat (JNIEnv *env, jclass klass, jint val)
  4. {
  5. return 2 * val;
  6. }