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

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2008-11-10 16:29:56 UTC
  • mfrom: (1.2.8 upstream) (2.1.3 lenny)
  • Revision ID: james.westby@ubuntu.com-20081110162956-xue6itkuqhbza87s
Tags: 1.3.36-1ubuntu1
* Merge from debian unstable, remaining changes:
  - Drop pike and libchicken-dev from the build-depends 
    (both are universe)
  - Use python2.5 instead of python2.4.
  - use php5
  - Clean Runtime/ as well.
  - debian/Rules (clean): Remove Lib/ocaml/swigp4.ml.
  - drop "--without-mzscheme", we don't have it in our build-depends

Show diffs side-by-side

added added

removed removed

Lines of Context:
10
10
    static const Polarization polarization = UnaryPolarization; 
11
11
  }; 
12
12
  template <Polarization P> 
13
 
    struct Interface 
 
13
    struct Interface_
14
14
    { 
15
15
    }; 
16
16
 
26
26
    }; 
27
27
%} 
28
28
 
29
 
%template(Interface_UP) Interface<UnaryPolarization>; 
 
29
%template(Interface_UP) Interface_<UnaryPolarization>; 
30
30
%template(Module_1) Module<1>; 
31
31
 
32
32
%inline %{ 
33
33
  struct ExtInterface1 :  
34
 
    Interface<UnaryPolarization> // works 
 
34
    Interface_<UnaryPolarization> // works 
35
35
  { 
36
36
  }; 
37
37
  struct ExtInterface2 : 
38
 
    Interface<interface_traits::polarization>  // doesn't work 
 
38
    Interface_<interface_traits::polarization>  // doesn't work 
39
39
  { 
40
40
  }; 
41
41
  struct ExtModule1 :