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

This commit is contained in:
Andrey Pavlenko 2012-06-20 08:28:43 +00:00
parent dc93c21962
commit 2c786a47d0

View File

@ -11,10 +11,6 @@ class_ignore_list = (
"FileNode", "FileStorage", "KDTree",
#highgui
"VideoWriter", "VideoCapture",
#features2d
#"KeyPoint", "MSER", "StarDetector", "SURF", "DMatch",
#ml
#"EM",
)
const_ignore_list = (
@ -1381,7 +1377,7 @@ JNIEXPORT void JNICALL Java_org_opencv_%(module)s_%(j_cls)s_delete
delete (%(cls)s*) self;
}
""" % {"module" : module, "cls" : name, "j_cls" : ci.jname}
""" % {"module" : module, "cls" : name, "j_cls" : ci.jname.replace('_', '_1')}
)