properly disable stl.i in target languages which do not support it
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@8237 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
33b23a6965
commit
9e37d0272c
3 changed files with 13 additions and 13 deletions
|
|
@ -1,5 +1,8 @@
|
|||
%module(directors="1") director_string;
|
||||
%include stl.i
|
||||
|
||||
#ifndef SWIG_STL_UNIMPL
|
||||
|
||||
%include std_vector.i
|
||||
%include std_string.i
|
||||
|
||||
|
|
@ -47,3 +50,6 @@ struct A
|
|||
%}
|
||||
|
||||
%template(StringVector) std::vector<std::string>;
|
||||
|
||||
|
||||
#endif
|
||||
|
|
|
|||
|
|
@ -1,5 +1,8 @@
|
|||
%module(directors="1") director_wstring;
|
||||
%include stl.i
|
||||
|
||||
#ifndef SWIG_STL_UNIMPL
|
||||
|
||||
%include std_vector.i
|
||||
%include std_wstring.i
|
||||
|
||||
|
|
@ -47,3 +50,5 @@ struct A
|
|||
%}
|
||||
|
||||
%template(StringVector) std::vector<std::wstring>;
|
||||
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue