summaryrefslogtreecommitdiff
path: root/Examples/test-suite/import_nomodule.i
diff options
context:
space:
mode:
Diffstat (limited to 'Examples/test-suite/import_nomodule.i')
-rw-r--r--Examples/test-suite/import_nomodule.i3
1 files changed, 3 insertions, 0 deletions
diff --git a/Examples/test-suite/import_nomodule.i b/Examples/test-suite/import_nomodule.i
index b06f14001..3cf511032 100644
--- a/Examples/test-suite/import_nomodule.i
+++ b/Examples/test-suite/import_nomodule.i
@@ -3,6 +3,9 @@
#include "import_nomodule.h"
%}
+// For Python
+%warnfilter(SWIGWARN_TYPE_UNDEFINED_CLASS) Bar; // Base class 'Foo' ignored - unknown module name for base. Either import the appropriate module interface file or specify the name of the module in the %import directive.
+
%import "import_nomodule.h"
#if !defined(SWIGJAVA) && !defined(SWIGRUBY) && !defined(SWIGCSHARP) && !defined(SWIGCOM)