Add ability to suppress some director warnings by their method name, not just the containing class name
This commit is contained in:
parent
7b50640c05
commit
9d0b20916f
4 changed files with 14 additions and 10 deletions
|
|
@ -1,5 +1,6 @@
|
|||
%module(directors="1") director_basic
|
||||
#pragma SWIG nowarn=SWIGWARN_TYPEMAP_THREAD_UNSAFE,SWIGWARN_TYPEMAP_DIRECTOROUT_PTR
|
||||
%module(directors="1") director_basic
|
||||
|
||||
%warnfilter(SWIGWARN_TYPEMAP_THREAD_UNSAFE,SWIGWARN_TYPEMAP_DIRECTOROUT_PTR) MyClass::pmethod;
|
||||
|
||||
%{
|
||||
#include <string>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue