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

« back to all changes in this revision

Viewing changes to Examples/test-suite/java/director_enum_runme.java

  • 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:
14
14
 
15
15
  public static void main(String argv[]) {
16
16
 
17
 
      MyFoo a = new MyFoo();
 
17
      director_enum_MyFoo a = new director_enum_MyFoo();
18
18
 
19
19
      if (a.ping(Hallo.awright) != Hallo.yo) {
20
20
          throw new RuntimeException ( "a.ping()" );
40
40
  }
41
41
}
42
42
 
43
 
class MyFoo extends Foo {
 
43
class director_enum_MyFoo extends Foo {
44
44
    public Hallo say_hi(Hallo h) {
45
45
        return Hallo.yo;
46
46
    }