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

« back to all changes in this revision

Viewing changes to Examples/test-suite/imports_a.h

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2005-01-10 09:48:52 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20050110094852-axi555axhj1brbwq
Tags: 1.3.22-5ubuntu2
Build using python2.4 and pike7.6. Closes: #4146.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
enum GlobalEnum { globalenum1=1, globalenum2 };
 
2
 
 
3
GlobalEnum global_test(GlobalEnum e) { return e; }
 
4
 
1
5
class A { 
2
6
 public: 
3
7
  A() {}
 
8
  virtual ~A() {}
4
9
  
5
 
  void hello() 
6
 
    {}
 
10
  void hello() {}
 
11
 
 
12
  enum MemberEnum { memberenum1=10, memberenum2 };
 
13
  virtual MemberEnum member_virtual_test(MemberEnum e) { return e; }
 
14
  virtual GlobalEnum global_virtual_test(GlobalEnum e) { return e; }
7
15
}; 
 
16