Suppress leaking memory warnings in rvalue reference tests
This commit is contained in:
parent
8778724768
commit
f17700aa1d
2 changed files with 4 additions and 0 deletions
|
|
@ -1,5 +1,7 @@
|
||||||
%module cpp0x_rvalue_reference2
|
%module cpp0x_rvalue_reference2
|
||||||
|
|
||||||
|
%warnfilter(SWIGWARN_TYPEMAP_SWIGTYPELEAK) globalrrval;
|
||||||
|
|
||||||
// This testcase tests lots of different places that rvalue reference syntax can be used
|
// This testcase tests lots of different places that rvalue reference syntax can be used
|
||||||
|
|
||||||
%typemap(in) Something && "/*in Something && typemap*/"
|
%typemap(in) Something && "/*in Something && typemap*/"
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,7 @@
|
||||||
%module cpp0x_rvalue_reference3
|
%module cpp0x_rvalue_reference3
|
||||||
|
|
||||||
|
%warnfilter(SWIGWARN_TYPEMAP_SWIGTYPELEAK);
|
||||||
|
|
||||||
%inline %{
|
%inline %{
|
||||||
#include <utility>
|
#include <utility>
|
||||||
struct Thing {};
|
struct Thing {};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue