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

« back to all changes in this revision

Viewing changes to Lib/std/std_wstring.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
 
%{
2
 
#include <cwchar>
3
 
%}
4
 
 
 
1
%include <wchar.i>
5
2
%include <std/std_basic_string.i>
6
3
 
7
4
/* wide strings */
8
5
 
9
 
 
10
6
namespace std
11
7
{
12
 
  %std_comp_methods(basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >);
13
 
  typedef basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> > wstring;
 
8
  %std_comp_methods(basic_string<wchar_t>);
 
9
  typedef basic_string<wchar_t> wstring;
14
10
}
15
11
 
16
 
%template(wstring) std::basic_string<wchar_t, std::char_traits<wchar_t>, std::allocator<wchar_t> >;
 
12
%template(wstring) std::basic_string<wchar_t>;
 
13