1 // Checks if collisions of argument names with target language keywords are
2 // resolved properly when directors are used
3 %module(directors="1") director_keywords
4 
5 %warnfilter(SWIGWARN_PARSE_KEYWORD);
6 
7 %feature("director") Foo;
8 
9 %inline %{
10 struct Foo {
~FooFoo11   virtual ~Foo() {}
check_abstractFoo12   virtual void check_abstract(int abstract) {} // for Java, C#, D...
check_selfFoo13   virtual void check_self(int self) {} // self for Python
check_fromFoo14   virtual void check_from(int from) {} // for Python
15 };
16 %}
17