From 00be2cf17f3fa22120318b784f7d048b01579a43 Mon Sep 17 00:00:00 2001 From: Andrey Kamaev Date: Mon, 21 Nov 2011 13:07:17 +0000 Subject: [PATCH] Fixed Android build problem --- modules/java/gen_java.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/java/gen_java.py b/modules/java/gen_java.py index 4d71941c77..bec1a9933d 100644 --- a/modules/java/gen_java.py +++ b/modules/java/gen_java.py @@ -91,6 +91,8 @@ const_ignore_list = ( "CV_TM_.+", "CV_FLOODFILL_.+", "CV_ADAPTIVE_THRESH_.+", + "WINDOW_.+", + "WND_PROP_.+", ) const_private_list = ( @@ -553,6 +555,7 @@ JNIEXPORT jlong JNICALL Java_org_opencv_ml_CvDTreeParams_n_1newObj //javadoc:CvEMParams::CvEMParams() public CvEMParams() { nativeObj = n_newObj(); + } """, 'jn_code' : 'private static native long n_newObj();',