"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

Syntax error in customize sample code

I copied JNI folder into my own app. I changed following line with my package name:

 

JNIEXPORT void JNICALLJava_com_example_sample_CloudReco_setActivityPortraitMode(JNIEnv *, jobject, jboolean isPortrait){    isActivityInPortraitMode = isPortrait;}but im getting syntax error. why?