Commit graph

8 commits

Author SHA1 Message Date
Kris Thielemans
f6b10f299f small suggestions for changes in std_ios.i
Hi

Would it be possible to add the following 2 typedefs to std_ios.i?

 typedef basic_ios<char> ios;
 typedef basic_ios<wchar_t> wios;

at present, it contains only

 %template(ios) basic_ios<char>;
 %template(wios) basic_ios<wchar_t>;

This means however that things like std::ios::openmode are currently not
recognised by SWIG. With the above typedefs, they are. Similar typedefs
should probably be added in std_iostream.i for ostream etc.

Also, while checking std_ios.i, it seems that the definition of basic_ios
has a copy-paste error in the private section (the constructor is still as
ios_base). To avoid confusion, I suggest to change that. Below is a diff
with the suggested changes.

Kris
2014-08-12 23:45:02 +01:00
Marcelo Matus
327bbc06ac more fixes for python 1.5 +gcc2.96
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@7301 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2005-06-17 19:12:21 +00:00
Marcelo Matus
d1bec74c9c 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
2005-04-02 19:06:31 +00:00
Marcelo Matus
bd0ccd3769 using new template resolution for def args, and cosmetics
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6890 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-16 01:35:52 +00:00
Marcelo Matus
ec2efb899d more on template def args
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6836 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-12-06 07:05:48 +00:00
Marcelo Matus
36bfc66486 add iostream test
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6771 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-11-28 09:18:32 +00:00
Marcelo Matus
49fe98ee46 immutable feature not needed anymore. private assign is recognized by swig now
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6445 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-19 23:42:20 +00:00
Marcelo Matus
dc4409a1f1 isolate language independent STD/STL/C++ code + more documentation + cleaning
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6382 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2004-10-10 06:42:15 +00:00