summaryrefslogtreecommitdiff
path: root/Examples/test-suite/add_link.i
blob: dfd4b376d51923c9a3570c98b5c44253240f34b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
%module add_link

%extend Foo {
Foo *blah() {
   return new Foo();
}
};


%inline %{
class Foo {
public:
  Foo() { };
};

%}