fix for legacy FeatureDetector and DescriptorMatcher classes

This commit is contained in:
abratchik
2016-10-13 13:43:55 +04:00
parent 4ed40fd694
commit 084c595855
2 changed files with 9 additions and 7 deletions
+1 -1
View File
@@ -994,7 +994,7 @@ class JavaWrapperGenerator(object):
if classinfo.base:
classinfo.addImports(classinfo.base)
type_dict["Ptr_"+name] = \
{ "j_type" : name,
{ "j_type" : classinfo.jname,
"jn_type" : "long", "jn_args" : (("__int64", ".nativeObj"),),
"jni_name" : "Ptr<"+classinfo.fullName(isCPP=True)+">(("+classinfo.fullName(isCPP=True)+"*)%(n)s_nativeObj)", "jni_type" : "jlong",
"suffix" : "J" }