std::wstring global and member variables are wrapped as strings by default

No need to use the %apply const std::wstring& { std::wstring* } trick anymore


git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8626 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2006-01-29 22:32:07 +00:00
commit fd212896fd
2 changed files with 3 additions and 0 deletions

View file

@ -12,6 +12,8 @@
namespace std {
%naturalvar wstring;
class wstring;
// wstring

View file

@ -25,6 +25,7 @@
%include <std_vector.i>
%naturalvar std::string;
%naturalvar std::wstring;
namespace std {
template <class charT> class basic_string {