Firstly, I have a JNIEXPORT method that looks like this:
JNIEXPORT void JNICALL Java_com_app_osap_Native_nativeProcessImage(JNIEnv *env, jobject thiz, jstring imagePath){
handle(data);
}
Then I write another method in the same cpp file:
void handle(int data[]){
}
But I get this error when compiling the source code:
'handle' was not declared in this scope
Please tell me what my problem is and how I can solve it.
Thanks in advance!
source
share