Document the module attribute in %import and add warning to Python for when it should be used

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10866 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2008-09-18 14:52:52 +00:00
commit 061e934bbc
6 changed files with 89 additions and 19 deletions

View file

@ -34,9 +34,14 @@
*/
#if 0
%import "imports_a.i"
%import "imports_a.i"
#else
%import(module="imports_a") "imports_a.h"
# if 0
// Test Warning 401 (Python only)
%import "imports_a.h"
# else
%import(module="imports_a") "imports_a.h"
# endif
#endif
%include "imports_b.h"