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
12 lines
151 B
OpenEdge ABL
12 lines
151 B
OpenEdge ABL
%module operbool
|
|
|
|
%rename(operator_bool) operator bool();
|
|
|
|
%inline %{
|
|
class Test {
|
|
public:
|
|
operator bool() {
|
|
return false;
|
|
}
|
|
};
|
|
%}
|