Testcase warning suppression

This commit is contained in:
William S Fulton 2024-07-12 19:31:20 +01:00
parent 46b7bafb21
commit 89f243428e
1 changed files with 4 additions and 0 deletions

View File

@ -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 %{