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:
parent
4e7bc4d6aa
commit
4e053d72ce
1 changed files with 4 additions and 4 deletions
|
|
@ -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 */
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue