projects
/
profile
/
ivi
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13185ad
)
Java API: fixed wrong JNI name for native delete()
author
Andrey Pavlenko
<no@email>
Thu, 4 Aug 2011 11:13:09 +0000
(11:13 +0000)
committer
Andrey Pavlenko
<no@email>
Thu, 4 Aug 2011 11:13:09 +0000
(11:13 +0000)
modules/java/gen_java.py
patch
|
blob
|
history
diff --git
a/modules/java/gen_java.py
b/modules/java/gen_java.py
index
3915f30
..
f3fc38e
100644
(file)
--- a/
modules/java/gen_java.py
+++ b/
modules/java/gen_java.py
@@
-1219,13
+1219,13
@@
JNIEXPORT $rtype JNICALL Java_org_opencv_${module}_${clazz}_$fname
// static void %(cls)s::delete( __int64 self )
\r
//
\r
\r
-JNIEXPORT void JNICALL Java_org_opencv_%(module)s_%(cls)s_delete
\r
+JNIEXPORT void JNICALL Java_org_opencv_%(module)s_%(
j_
cls)s_delete
\r
(JNIEnv* env, jclass cls, jlong self)
\r
{
\r
delete (%(cls)s*) self;
\r
}
\r
\r
-""" % {"module" : module, "cls" : name}
\r
+""" % {"module" : module, "cls" : name
, "j_cls" : ci.jname
}
\r
)
\r
\r
\r