Fixed SWIG go for cases when SWIG %import-s another package which is located in a subdirectory.
This commit is contained in:
parent
ece9854e8f
commit
8da4d20308
9 changed files with 135 additions and 7 deletions
12
Examples/test-suite/go_subdir_import_b.i
Normal file
12
Examples/test-suite/go_subdir_import_b.i
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
/* File : go_subdir_import_b.i */
|
||||
%module "testdir/go_subdir_import/go_subdir_import_b"
|
||||
|
||||
%inline %{
|
||||
class ObjB {
|
||||
public:
|
||||
int getInt() const {
|
||||
return 27;
|
||||
}
|
||||
};
|
||||
%}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue