std::pair added (but not very much tested)

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@4959 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Luigi Ballabio 2003-07-10 12:42:42 +00:00
commit 8c35d20048
12 changed files with 3782 additions and 0 deletions

31
SWIG/Lib/java/std_pair.i Normal file
View file

@ -0,0 +1,31 @@
//
// SWIG typemaps for std::pair
// Luigi Ballabio
// July 2003
//
// Common implementation
%include std_common.i
%include exception.i
// ------------------------------------------------------------------------
// std::pair
// ------------------------------------------------------------------------
%{
#include <utility>
%}
// exported class
namespace std {
template<class T, class U> struct pair {
// add typemaps here
T first;
U second;
};
// add specializations here
}