summaryrefslogtreecommitdiff
path: root/Examples/test-suite/director_keywords.i
blob: 473786c00f4ddff7f6df7d84bcc5849079b928f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Checks if collisions of argument names with target language keywords are
// resolved properly when directors are used (currently only »abstract« for
// C#, D and Java is checked).
%module(directors="1") director_keywords

%feature("director") Foo;

%inline %{
struct Foo {
  virtual ~Foo() {}
  virtual void bar(int abstract) {}
};
%}