Commit 5cac6340 authored by Andrey Pavlenko's avatar Andrey Pavlenko

Java API: temp workaround for Java tests compilation, a better fix will be done…

Java API: temp workaround for Java tests compilation, a better fix will be done with inheritance support
parent 6652b4ce
...@@ -681,7 +681,7 @@ public class %(jc)s { ...@@ -681,7 +681,7 @@ public class %(jc)s {
return return
if '/Simple' in decl[2]: if '/Simple' in decl[2]:
self.classes_simple.append(name) self.classes_simple.append(name)
if '/Map' in decl[2]: if ('/Map' in decl[2]) or (name == 'CvStatModel'):
self.classes_map.append(name) self.classes_map.append(name)
#adding default c-tor #adding default c-tor
ffi = FuncFamilyInfo(['cv.'+name+'.'+name, '', [], []]) ffi = FuncFamilyInfo(['cv.'+name+'.'+name, '', [], []])
......
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