summaryrefslogtreecommitdiff
path: root/Examples/test-suite/cpp11_directors.i
blob: 3d1fbea253391d5e612fe61125d6eba846a77def (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
%module(directors="1") cpp11_directors
%feature("director");

%inline %{

class Foo {
  public:
    virtual ~Foo() noexcept {}
    virtual int ping() noexcept = 0;
    virtual int pong() noexcept = 0;
    virtual int pang() const& noexcept = 0;
    virtual int peng() & noexcept = 0;
    virtual int pung() & = 0;
};

%}