Ensure 'javapackage' typemap is used as it stopped working from version 2.0.5
This commit is contained in:
parent
d172e3d0ed
commit
397409fbb1
3 changed files with 8 additions and 4 deletions
|
|
@ -3527,7 +3527,7 @@ public:
|
|||
String *pkg_path = Swig_typemap_lookup("javapackage", p, "", 0);
|
||||
SwigType *type = Getattr(p, "type");
|
||||
|
||||
if (pkg_path || Len(pkg_path) == 0)
|
||||
if (!pkg_path || Len(pkg_path) == 0)
|
||||
pkg_path = package_path;
|
||||
|
||||
String *descriptor_out = Copy(descriptor_in);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue