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@7138 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2005-04-02 19:06:31 +00:00
commit d1bec74c9c
4 changed files with 27 additions and 7 deletions

View file

@ -248,7 +248,9 @@ namespace std {
namespace std {
%template(ios) basic_ios<char>;
#if defined(SWIG_WCHAR)
%template(wios) basic_ios<wchar_t>;
#endif
}

View file

@ -81,5 +81,7 @@ namespace std {
namespace std {
%template(streambuf) basic_streambuf<char>;
#if defined(SWIG_WCHAR)
%template(wstreambuf) basic_streambuf<wchar_t>;
#endif
}