Conflicts: .project COPYRIGHT Doc/Manual/style.css Examples/Makefile.in Examples/test-suite/common.mk Lib/typemaps/strings.swg Makefile.in Source/DOH/fio.c Source/Makefile.am Source/Modules/emit.cxx Source/Modules/javascript.cxx configure.in git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/branches/oliverb-javascript-v8@13764 626c5289-ae23-0410-ae9c-e8d60b6d4f22
34 lines
712 B
OpenEdge ABL
Executable file
34 lines
712 B
OpenEdge ABL
Executable file
/* -----------------------------------------------------------------------------
|
|
* std_pair.i
|
|
*
|
|
* SWIG typemaps for std::pair
|
|
* ----------------------------------------------------------------------------- */
|
|
|
|
%include <std_common.i>
|
|
%include <exception.i>
|
|
|
|
// ------------------------------------------------------------------------
|
|
// std::pair
|
|
// ------------------------------------------------------------------------
|
|
|
|
%{
|
|
#include <utility>
|
|
%}
|
|
|
|
namespace std {
|
|
|
|
template<class T, class U> struct pair {
|
|
|
|
pair();
|
|
pair(T first, U second);
|
|
pair(const pair& p);
|
|
|
|
template <class U1, class U2> pair(const pair<U1, U2> &p);
|
|
|
|
T first;
|
|
U second;
|
|
};
|
|
|
|
// add specializations here
|
|
|
|
}
|