add support for named warning codes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8249 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
6f0ac941e8
commit
89e7497ac6
124 changed files with 671 additions and 281 deletions
|
|
@ -1,5 +1,5 @@
|
|||
%module(directors="1") director_stl
|
||||
#pragma SWIG nowarn=470,473
|
||||
#pragma SWIG nowarn=SWIGWARN_TYPEMAP_THREAD_UNSAFE,SWIGWARN_TYPEMAP_DIRECTOROUT_PTR
|
||||
|
||||
%include "std_string.i"
|
||||
%include "std_pair.i"
|
||||
|
|
|
|||
|
|
@ -43,7 +43,7 @@ typedef float Real;
|
|||
#if 1
|
||||
//fails
|
||||
namespace std {
|
||||
%template(RealVector) vector<int>;
|
||||
%template(RealVector) vector<Real>;
|
||||
}
|
||||
#else
|
||||
//works
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue