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:
parent
fbcff730c2
commit
fd212896fd
2 changed files with 3 additions and 0 deletions
|
|
@ -12,6 +12,8 @@
|
|||
|
||||
namespace std {
|
||||
|
||||
%naturalvar wstring;
|
||||
|
||||
class wstring;
|
||||
|
||||
// wstring
|
||||
|
|
|
|||
|
|
@ -25,6 +25,7 @@
|
|||
%include <std_vector.i>
|
||||
|
||||
%naturalvar std::string;
|
||||
%naturalvar std::wstring;
|
||||
|
||||
namespace std {
|
||||
template <class charT> class basic_string {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue