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:
parent
f073fc2c36
commit
556e699baa
2 changed files with 65 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue