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

« back to all changes in this revision

Viewing changes to Examples/test-suite/director_wombat.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:
22
22
public:
23
23
  virtual              ~Bar();
24
24
  virtual Foo_int      *meth();
25
 
  virtual void          foo_meth(Foo_int &, int);
 
25
  virtual void          foo_meth_ref(Foo_int &, int);
 
26
  virtual void          foo_meth_ptr(Foo_int *, int);
 
27
  virtual void          foo_meth_val(Foo_int, int);
 
28
  virtual void          foo_meth_cref(const Foo_int &, int);
 
29
  virtual void          foo_meth_cptr(const Foo_int *, int);
26
30
};
27
31
 
28
32
Bar::~Bar()
34
38
  return new Foo_int();
35
39
}
36
40
 
37
 
void
38
 
Bar::foo_meth(Foo_int &arg, int param)
39
 
{
40
 
}
 
41
void Bar::foo_meth_ref(Foo_int &arg, int param) { }
 
42
void Bar::foo_meth_ptr(Foo_int *arg, int param) { }
 
43
void Bar::foo_meth_val(Foo_int arg, int param) { }
 
44
void Bar::foo_meth_cref(const Foo_int &arg, int param) { }
 
45
void Bar::foo_meth_cptr(const Foo_int *arg, int param) { }
41
46
%}
42
47
 
43
48
%template(Foo_integers) Foo<int>;