~ubuntu-branches/ubuntu/hardy/swig1.3/hardy

« back to all changes in this revision

Viewing changes to Lib/std/std_ios.i

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-12-05 01:16:04 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051205011604-ygx904it6413k3go
Tags: 1.3.27-1ubuntu1
Resynchronise with Debian again, for the new subversion packages.

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
%include <std_basic_string.i>
3
3
%include <std_except.i>
4
4
%{
5
 
#include <ios>
 
5
#ifndef SWIG_STD_NOMODERN_STL
 
6
# include <ios>
 
7
#else
 
8
# include <streambuf.h>
 
9
#endif
6
10
%}
7
11
 
8
12
namespace std {
247
251
}
248
252
 
249
253
namespace std {
250
 
  %template(ios) basic_ios<char, std::char_traits<char> >;
251
 
  %template(wios) basic_ios<wchar_t, std::char_traits<wchar_t> >;
 
254
  %template(ios) basic_ios<char>;
 
255
#if defined(SWIG_WCHAR)
 
256
  %template(wios) basic_ios<wchar_t>;
 
257
#endif
252
258
}
253
259
 
254
260