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

« back to all changes in this revision

Viewing changes to Examples/test-suite/using_private.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:
6
6
     int x;
7
7
     int blah(int xx) { return xx; }
8
8
     int defaulted(int i = -1) { return i; }
 
9
     virtual void virtualmethod() {}
 
10
     virtual void anothervirtual() {}
9
11
};
10
12
 
11
13
class FooBar : private Foo {
13
15
     using Foo::blah;
14
16
     using Foo::x;
15
17
     using Foo::defaulted;
 
18
     using Foo::virtualmethod;
 
19
     virtual void anothervirtual() {}
16
20
};
17
21
 
18
22
%}