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

« back to all changes in this revision

Viewing changes to Lib/std/std_char_traits.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:
1
1
%include <std_common.i>
 
2
#if defined(SWIG_WCHAR)
2
3
%include <wchar.i>
 
4
#endif
3
5
 
4
6
namespace std 
5
7
{
68
70
  };
69
71
 
70
72
 
 
73
#if defined(SWIG_WCHAR)
71
74
  template<>
72
75
  struct char_traits<wchar_t>
73
76
  {
119
122
    static int_type 
120
123
    not_eof(const int_type& __c);
121
124
  };
 
125
#endif
122
126
}
123
127
 
124
128
namespace std {
125
129
#ifndef SWIG_STL_WRAP_TRAITS
126
130
%template() char_traits<char>;
 
131
#if defined(SWIG_WCHAR)
127
132
%template() char_traits<wchar_t>;
 
133
#endif
128
134
#else
129
135
%template(char_traits_c) char_traits<char>;
 
136
#if defined(SWIG_WCHAR)
130
137
%template(char_traits_w) char_traits<wchar_t>;
131
138
#endif
 
139
#endif
132
140
}