1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
| #include <jni.h> #ifndef _Included_Hello #define _Included_Hello #ifdef __cplusplus extern "C" { #endif * Class: Hello * Method: add * Signature: (II)I */ JNIEXPORT jint JNICALL Java_Hello_add (JNIEnv *, jclass, jint, jint); #ifdef __cplusplus } #endif #endif
|