Commit 3f22bd6d authored by Andrey Pavlenko's avatar Andrey Pavlenko

Java API: fixed wrong JNI name for native delete()

parent 13185ad8
......@@ -1219,13 +1219,13 @@ JNIEXPORT $rtype JNICALL Java_org_opencv_${module}_${clazz}_$fname
// static void %(cls)s::delete( __int64 self )
//
JNIEXPORT void JNICALL Java_org_opencv_%(module)s_%(cls)s_delete
JNIEXPORT void JNICALL Java_org_opencv_%(module)s_%(j_cls)s_delete
(JNIEnv* env, jclass cls, jlong self)
{
delete (%(cls)s*) self;
}
""" % {"module" : module, "cls" : name}
""" % {"module" : module, "cls" : name, "j_cls" : ci.jname}
)
......
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