diff options
Diffstat (limited to 'Examples/python/import_packages/relativeimport3/py2/pkg2/bar.i')
-rw-r--r-- | Examples/python/import_packages/relativeimport3/py2/pkg2/bar.i | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Examples/python/import_packages/relativeimport3/py2/pkg2/bar.i b/Examples/python/import_packages/relativeimport3/py2/pkg2/bar.i new file mode 100644 index 000000000..6f4690b25 --- /dev/null +++ b/Examples/python/import_packages/relativeimport3/py2/pkg2/bar.i @@ -0,0 +1,6 @@ +%module(package="py2.pkg2") bar +%{ +#include "../../py2/pkg2/bar.hpp" +%} +%import (module="foo", package="py2.pkg2.pkg3") "../../py2/pkg2/pkg3/foo.hpp" +%include "../../py2/pkg2/bar.hpp" |