Warning suppression for explicit template instantiations
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/gsoc2009-matevz@12153 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
adffcd60e1
commit
8e779193bf
1 changed files with 4 additions and 4 deletions
|
|
@ -3,16 +3,16 @@
|
||||||
using the translation unit).
|
using the translation unit).
|
||||||
*/
|
*/
|
||||||
%module cpp0x_template_explicit
|
%module cpp0x_template_explicit
|
||||||
%warnfilter(320) std::vector<A>;
|
|
||||||
%warnfilter(320) std::vector<A*>;
|
#pragma SWIG nowarn=SWIGWARN_PARSE_EXPLICIT_TEMPLATE
|
||||||
|
|
||||||
%inline %{
|
%inline %{
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
|
||||||
class A {
|
class A {
|
||||||
public:
|
public:
|
||||||
int member;
|
int member;
|
||||||
int memberFunction() { return 100; }
|
int memberFunction() { return 100; }
|
||||||
};
|
};
|
||||||
|
|
||||||
template class std::vector<A>;
|
template class std::vector<A>;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue