JNI for test coverage #3965
This commit is contained in:
parent
dc26401f5f
commit
6dca5bfcc4
|
@ -11,4 +11,6 @@ public class EngineLogic {
|
||||||
public native byte[] getConfiguration();
|
public native byte[] getConfiguration();
|
||||||
|
|
||||||
public native void setConfiguration(byte[] content, int offset, int size);
|
public native void setConfiguration(byte[] content, int offset, int size);
|
||||||
|
|
||||||
|
public native void invokePeriodicCallback();
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,6 +39,14 @@ JNIEXPORT jbyteArray JNICALL Java_com_rusefi_native_1_EngineLogic_getConfigurati
|
||||||
JNIEXPORT void JNICALL Java_com_rusefi_native_1_EngineLogic_setConfiguration
|
JNIEXPORT void JNICALL Java_com_rusefi_native_1_EngineLogic_setConfiguration
|
||||||
(JNIEnv *, jobject, jbyteArray, jint, jint);
|
(JNIEnv *, jobject, jbyteArray, jint, jint);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: com_rusefi_native__EngineLogic
|
||||||
|
* Method: invokePeriodicCallback
|
||||||
|
* Signature: ()V
|
||||||
|
*/
|
||||||
|
JNIEXPORT void JNICALL Java_com_rusefi_native_1_EngineLogic_invokePeriodicCallback
|
||||||
|
(JNIEnv *, jobject);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue