fixed the *::clone() warning

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5626 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2004-01-13 01:38:45 +00:00
commit e5ee4d1ac7

View file

@ -61,8 +61,8 @@ JAVAKW(while);
/* others bad names */
/* Not really sure about this, but sometimes it produce problems */
// %namewarn("321:clone is a java bad method name") *::clone;
/* Note here that only *::clone() is bad, and *::clone(int) is ok */
%namewarn("321:clone() is a java bad method name") *::clone();
#undef JAVAKW