Searched refs:add42 (Results 1 – 2 of 2) sorted by relevance
62 static native int add42(int x); in add42() method in JniTests67 assertEquals(84, add42(42)); in testRegisterNatives()
23 jint add42(JNIEnv* /* env */, jclass /* clazz */, jint x) { in add42() function69 JNINativeMethod methods[] = {{"add42", "(I)I", reinterpret_cast<void*>(&add42)}}; in Java_com_berberis_jnitests_JniTests_callRegisterNatives()