add SWIG_STD_PAIR_ASVAL

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@8002 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Marcelo Matus 2005-12-18 00:14:23 +00:00
commit 556e699baa
2 changed files with 65 additions and 2 deletions

View file

@ -27,7 +27,11 @@ namespace std {
}
}
#ifndef SWIG_STD_PAIR_ASVAL
%typemap_traits_ptr(SWIG_TYPECHECK_PAIR, std::pair<T,U >);
#else
%typemap_traits(SWIG_TYPECHECK_PAIR, std::pair<T,U >);
#endif
pair();
pair(T first, U second);