mirror of
https://github.com/opencv/opencv.git
synced 2026-07-29 23:33:05 +04:00
java: fix bindings generator
- fix imports override.
Problem is observed with BoostDesc.
- add Ptr<> handling (constructor is protected from other packages).
Observed in ximgproc:
Ptr<StereoMatcher> createRightMatcher(Ptr<StereoMatcher> matcher_left)"
where, "StereoMather" is from another package (calib3d)
This commit is contained in:
@@ -10,3 +10,6 @@ $annotation
|
||||
public class $jname extends $base {
|
||||
|
||||
protected $jname(long addr) { super(addr); }
|
||||
|
||||
// internal usage only
|
||||
public static $jname __fromPtr__(long addr) { return new $jname(addr); }
|
||||
|
||||
Reference in New Issue
Block a user