Some octave SWIG test-suite warning fixes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12017 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
948748f8e8
commit
02b31416f6
2 changed files with 4 additions and 0 deletions
|
|
@ -45,6 +45,8 @@ see bottom for a set of possible tests
|
||||||
%rename(MinusMinusPostfix) operator--(int);
|
%rename(MinusMinusPostfix) operator--(int);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
%rename(IndexInto) *::operator[](unsigned idx); // some languages have a %rename *::operator[] already in place, which seems to takes precedence over the above %rename operator[].
|
||||||
|
|
||||||
#ifdef SWIGCSHARP
|
#ifdef SWIGCSHARP
|
||||||
%csmethodmodifiers operator++() "protected";
|
%csmethodmodifiers operator++() "protected";
|
||||||
%csmethodmodifiers operator++(int) "private";
|
%csmethodmodifiers operator++(int) "private";
|
||||||
|
|
|
||||||
|
|
@ -32,6 +32,8 @@ SWIGINTERNINLINE octave_value
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
%ignore std::basic_string::operator +=;
|
||||||
|
|
||||||
%include <std/std_basic_string.i>
|
%include <std/std_basic_string.i>
|
||||||
%typemaps_asptrfromn(%checkcode(STRING), std::basic_string<char>);
|
%typemaps_asptrfromn(%checkcode(STRING), std::basic_string<char>);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue