JNIEXPORT jint JNICALL Java_com_example_startvg_VG11_nativeClassInit( JNIEnv* env , jobject obj) { LOGD("VG11-CPP-wrapper::nativeClassInit(): done!!"); nativeClassInit(env); }
//// C function:: VGboolean vgCreateContextSH(VGint width, VGint height); JNIEXPORT jboolean JNICALL Java_com_example_startvg_VG11_vgCreateContextSH( JNIEnv * env, jobject obj, jint width, jint height ){ nativeClassInit(env); return (jboolean) vgCreateContextSH( (VGint) width, (VGint) height ); // LOGD("vgCreateContextSH -- done. -- width=[%d], height=[%d]", width, height); // return SUCCESS; }
int register_person_info_func(JNIEnv *env) { nativeClassInit(env); return registerNativeMethods(env, JNIREG_CLASS, method_table, NELEM(method_table)); }