mirror of
https://github.com/opencv/opencv.git
synced 2024-11-29 05:29:54 +08:00
fix for #2048 (artificial 'delete' method had wrong JNI signature)
This commit is contained in:
parent
dc93c21962
commit
2c786a47d0
@ -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
|
|||||||
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')}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user