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