swig/Examples/test-suite/operbool.i
David Nadlinger 2070812f09 Minor rename in the 'operbool' test-case to avoid special casing for D.
This is a part of the pending merge of the D module, where a method having the same name as the module would lead to ambiguities.

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12297 626c5289-ae23-0410-ae9c-e8d60b6d4f22
2010-11-18 00:16:23 +00:00

12 lines
151 B
OpenEdge ABL

%module operbool
%rename(operator_bool) operator bool();
%inline %{
class Test {
public:
operator bool() {
return false;
}
};
%}