suppress warning 470
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@7127 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
a7813a1bf5
commit
f9e3521a10
2 changed files with 6 additions and 3 deletions
|
|
@ -2,6 +2,8 @@
|
|||
* Test Java director typemaps and features
|
||||
*/
|
||||
|
||||
%warnfilter(470); /* Thread/reentrant unsafe wrapping, consider returning by value instead. */
|
||||
|
||||
%module(directors="1") java_director
|
||||
|
||||
%typemap(javafinalize) SWIGTYPE %{
|
||||
|
|
@ -64,7 +66,7 @@ private:
|
|||
%include "std_string.i"
|
||||
|
||||
%feature("director") Quux;
|
||||
SWIG_DIRECTOR_OWNED(Quux)
|
||||
//SWIG_DIRECTOR_OWNED(Quux)
|
||||
|
||||
class Quux {
|
||||
public:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue