give operator bool() a name

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10943 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
William S Fulton 2008-11-23 22:07:15 +00:00
commit f78bdddb9d

View file

@ -1,5 +1,7 @@
%module operbool
%rename(operbool) operator bool();
%inline %{
class Test {
public: