Commit 2c786a47 authored by Andrey Pavlenko's avatar Andrey Pavlenko

fix for #2048 (artificial 'delete' method had wrong JNI signature)

parent dc93c219
...@@ -11,10 +11,6 @@ class_ignore_list = ( ...@@ -11,10 +11,6 @@ class_ignore_list = (
"FileNode", "FileStorage", "KDTree", "FileNode", "FileStorage", "KDTree",
#highgui #highgui
"VideoWriter", "VideoCapture", "VideoWriter", "VideoCapture",
#features2d
#"KeyPoint", "MSER", "StarDetector", "SURF", "DMatch",
#ml
#"EM",
) )
const_ignore_list = ( const_ignore_list = (
...@@ -1381,7 +1377,7 @@ JNIEXPORT void JNICALL Java_org_opencv_%(module)s_%(j_cls)s_delete ...@@ -1381,7 +1377,7 @@ JNIEXPORT void JNICALL Java_org_opencv_%(module)s_%(j_cls)s_delete
delete (%(cls)s*) self; delete (%(cls)s*) self;
} }
""" % {"module" : module, "cls" : name, "j_cls" : ci.jname} """ % {"module" : module, "cls" : name, "j_cls" : ci.jname.replace('_', '_1')}
) )
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment