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

« back to all changes in this revision

Viewing changes to Examples/test-suite/template_base_template.i

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad
  • Date: 2005-09-01 18:35:55 UTC
  • mfrom: (2.1.1 sarge)
  • Revision ID: james.westby@ubuntu.com-20050901183555-eq59uwhq8b62e44c
Tags: 1.3.24-1ubuntu4
* Use php5-dev instead of php4-dev, to kick php4 out of main.
* Drop support for generation of pike bindings, as nothing uses it,
  and swig is the only thing keeping pike7.6 in main (Ubuntu #13796)

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 
3
3
%warnfilter(801) traits<double, double>; /* Ruby, wrong class name */
4
4
 
 
5
%warnfilter(320);
 
6
 
5
7
%inline %{
6
8
  template <class ArgType, class ResType>
7
9
  struct traits
22
24
                                typename traits<AF, AG>::res_type>
23
25
  {
24
26
  };
25
 
 
 
27
%}
 
28
 
 
29
%{
 
30
 template struct Function <double, double>;
 
31
 template struct Class <double, double>;
26
32
%}
27
33
 
28
34
%template(traits_dd) traits <double, double>;