diff options
author | William S Fulton <wsf@fultondesigns.co.uk> | 2016-12-01 18:59:33 +0000 |
---|---|---|
committer | William S Fulton <wsf@fultondesigns.co.uk> | 2016-12-01 18:59:33 +0000 |
commit | 2a42031b085d8f4568aa90dede879ea008e1611b (patch) | |
tree | 3b10965894e1194045c0bd1b2ae4981815bd847d /.travis.yml | |
parent | da1dd2ffd217c4be8822ce372605b3f71af3378f (diff) | |
download | swig-2a42031b085d8f4568aa90dede879ea008e1611b.tar.gz |
Custom Python module importing code
Add optional moduleimport attribute to %module so that the
default module import code can be overridden. See the
"Searching for the wrapper module" documentation in Python.html.
Example:
%module(moduleimport="import _foo") foo
$module also expands to the low-level C/C++ module name, so
the following is the same as above
%module(moduleimport="import $module") foo
Issue https://github.com/swig/swig/issues/769
Diffstat (limited to '.travis.yml')
0 files changed, 0 insertions, 0 deletions