add #include <cwchar>
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6619 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
da29a4793d
commit
53ec1c3c1d
2 changed files with 9 additions and 0 deletions
|
|
@ -5,6 +5,10 @@
|
||||||
#ifndef SWIG_STD_BASIC_STRING
|
#ifndef SWIG_STD_BASIC_STRING
|
||||||
#define SWIG_STD_WSTRING
|
#define SWIG_STD_WSTRING
|
||||||
|
|
||||||
|
%{
|
||||||
|
#include <cwchar>
|
||||||
|
%}
|
||||||
|
|
||||||
%include <pywstrings.swg>
|
%include <pywstrings.swg>
|
||||||
|
|
||||||
namespace std
|
namespace std
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,12 @@
|
||||||
|
%{
|
||||||
|
#include <cwchar>
|
||||||
|
%}
|
||||||
|
|
||||||
%include <std/std_basic_string.i>
|
%include <std/std_basic_string.i>
|
||||||
|
|
||||||
/* wide strings */
|
/* wide strings */
|
||||||
|
|
||||||
|
|
||||||
namespace std
|
namespace std
|
||||||
{
|
{
|
||||||
%std_comp_methods(basic_string<wchar_t>);
|
%std_comp_methods(basic_string<wchar_t>);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue