allow to use iostream and sstream without wchar support, as pointed by Scott
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7137 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
cc8cb39465
commit
5702970de9
7 changed files with 67 additions and 19 deletions
|
|
@ -1,12 +1,8 @@
|
|||
%{
|
||||
#include <cwchar>
|
||||
%}
|
||||
|
||||
%include <wchar.i>
|
||||
%include <std/std_basic_string.i>
|
||||
|
||||
/* wide strings */
|
||||
|
||||
|
||||
namespace std
|
||||
{
|
||||
%std_comp_methods(basic_string<wchar_t>);
|
||||
|
|
@ -14,3 +10,4 @@ namespace std
|
|||
}
|
||||
|
||||
%template(wstring) std::basic_string<wchar_t>;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue