fixes for latest stl changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6383 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
dc4409a1f1
commit
ca9e6834df
5 changed files with 13 additions and 13 deletions
|
|
@ -3,7 +3,6 @@
|
|||
//
|
||||
// activate the automatic comparison methods generation (==,!=,...)
|
||||
//
|
||||
#define SWIG_STD_EXTEND_COMPARISON
|
||||
|
||||
%include std_pair.i
|
||||
%include std_string.i
|
||||
|
|
@ -25,10 +24,11 @@
|
|||
};
|
||||
%}
|
||||
|
||||
%std_comp_methods(std::pair<std::string, int>);
|
||||
|
||||
namespace std {
|
||||
%template(CIntPair) pair<const int, const int>;
|
||||
%template() pair<double, double>;
|
||||
%template(String) basic_string<char>;
|
||||
%template(IntPair) pair<int, int>;
|
||||
%template(SIPair) pair<std::string, int>;
|
||||
%template(CIPair) pair<std::complex<double>, int>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue