mirror of https://github.com/rusefi/rusefi-1.git
JNI for test coverage #3965
This commit is contained in:
parent
ea431a3ee5
commit
6aa62190ee
|
@ -13,4 +13,6 @@ public class EngineLogic {
|
||||||
public native void setConfiguration(byte[] content, int offset, int size);
|
public native void setConfiguration(byte[] content, int offset, int size);
|
||||||
|
|
||||||
public native void invokePeriodicCallback();
|
public native void invokePeriodicCallback();
|
||||||
|
|
||||||
|
public native byte[] getOutputs();
|
||||||
}
|
}
|
||||||
|
|
|
@ -47,6 +47,14 @@ JNIEXPORT void JNICALL Java_com_rusefi_native_1_EngineLogic_setConfiguration
|
||||||
JNIEXPORT void JNICALL Java_com_rusefi_native_1_EngineLogic_invokePeriodicCallback
|
JNIEXPORT void JNICALL Java_com_rusefi_native_1_EngineLogic_invokePeriodicCallback
|
||||||
(JNIEnv *, jobject);
|
(JNIEnv *, jobject);
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Class: com_rusefi_native__EngineLogic
|
||||||
|
* Method: getOutputs
|
||||||
|
* Signature: ()[B
|
||||||
|
*/
|
||||||
|
JNIEXPORT jbyteArray JNICALL Java_com_rusefi_native_1_EngineLogic_getOutputs
|
||||||
|
(JNIEnv *, jobject);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue