fix old std_pair version

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@5760 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2004-03-17 10:45:19 +00:00
commit 2537ee1c34
2 changed files with 3 additions and 3 deletions

View file

@ -79,7 +79,7 @@
return v[index]; return v[index];
} }
std::pair<int,int> pident(const std::pair<int,int>& p) std::pair<int,double> pident(const std::pair<int,double>& p)
{ {
return p; return p;
} }

View file

@ -73,7 +73,7 @@ namespace std {
} }
} }
%typemap_traits_ptr(SWIG_CCode(PAIR), std::pair<T,U >); %typemap_traits(SWIG_CCode(PAIR), std::pair<T,U >);
T first; T first;
U second; U second;
@ -98,7 +98,7 @@ namespace std {
} }
} }
%typemap_traits_ptr(SWIG_CCode(PAIR), std::pair<T,U* >); %typemap_traits(SWIG_CCode(PAIR), std::pair<T,U* >);
T first; T first;
U* second; U* second;