use simpler %ignoreoperator directive

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8276 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2006-01-07 07:58:15 +00:00
commit 4e053d72ce

View file

@ -202,10 +202,10 @@ static int NAME(TYPE x) {
* ----------------------------------------------------------------------------- */
#ifdef __cplusplus
%ignorewarn(SWIGWARN_IGNORE_OPERATOR_NEW_MSG) operator new;
%ignorewarn(SWIGWARN_IGNORE_OPERATOR_DELETE_MSG) operator delete;
%ignorewarn(SWIGWARN_IGNORE_OPERATOR_NEWARR_MSG) operator new[];
%ignorewarn(SWIGWARN_IGNORE_OPERATOR_DELARR_MSG) operator delete[];
%ignoreoperator(NEW) operator new;
%ignoreoperator(DELETE) operator delete;
%ignoreoperator(NEWARR) operator new[];
%ignoreoperator(DELARR) operator delete[];
/* Smart pointer handling */