diff --git a/Examples/test-suite/director_guard.i b/Examples/test-suite/director_guard.i index 188578dfd..daaed6b89 100644 --- a/Examples/test-suite/director_guard.i +++ b/Examples/test-suite/director_guard.i @@ -1,5 +1,9 @@ +// This test is for testing director_guard.swg and director thread safety +// Note: other languages should define SWIG_THREADS instead of the threads="1" module Python option %module(directors="1", threads="1") director_guard; +%warnfilter(SWIGWARN_TYPEMAP_THREAD_UNSAFE,SWIGWARN_TYPEMAP_DIRECTOROUT_PTR) Callback::run; + %feature("director") Callback; %inline %{