The situation in which the generated could would previously be invalid is illustrated in the new 'director_keywords' test case. git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12358 626c5289-ae23-0410-ae9c-e8d60b6d4f22
13 lines
340 B
OpenEdge ABL
13 lines
340 B
OpenEdge ABL
// 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) {}
|
|
};
|
|
%}
|