mirror of https://github.com/swig/swig
Testcase warning suppression
This commit is contained in:
parent
46b7bafb21
commit
89f243428e
|
@ -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;
|
%module(directors="1", threads="1") director_guard;
|
||||||
|
|
||||||
|
%warnfilter(SWIGWARN_TYPEMAP_THREAD_UNSAFE,SWIGWARN_TYPEMAP_DIRECTOROUT_PTR) Callback::run;
|
||||||
|
|
||||||
%feature("director") Callback;
|
%feature("director") Callback;
|
||||||
|
|
||||||
%inline %{
|
%inline %{
|
||||||
|
|
Loading…
Reference in New Issue