/** VisBin.setSupportedDepth() */ JNIEXPORT void JNICALL Java_org_libvisual_android_VisBin_binSetPreferredDepth(JNIEnv * env, jobject obj, jint bin, jint depth) { VisBin *b = (VisBin *) bin; visual_bin_set_preferred_depth(b, depth); }
/** VisBin.setSupportedDepth() */ JNIEXPORT void JNICALL Java_org_libvisual_android_VisBin_binSetPreferredDepth(JNIEnv * env, jobject obj, jobject bin, jint depth) { VisBin *b = getObjectFromCPtr<VisBin *>(env, bin); visual_bin_set_preferred_depth(b, (VisBinDepth)depth); }