Some test-suite fixes for visual studio
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12996 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
35b2270f84
commit
f9e85bb27f
4 changed files with 15 additions and 3 deletions
|
|
@ -1,5 +1,11 @@
|
|||
%module operator_pointer_ref
|
||||
|
||||
%{
|
||||
#if defined(_MSC_VER)
|
||||
#pragma warning(disable: 4996) // 'strdup': The POSIX name for this item is deprecated. Instead, use the ISO C++ conformant name: _strdup. See online help for details.
|
||||
#endif
|
||||
%}
|
||||
|
||||
%rename(AsCharStarRef) operator char*&;
|
||||
|
||||
%inline %{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue