fixes for latest stl changes
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@6383 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
dc4409a1f1
commit
ca9e6834df
5 changed files with 13 additions and 13 deletions
|
|
@ -1,9 +1,8 @@
|
|||
%module lib_std_map
|
||||
|
||||
//#define SWIG_STD_EXTEND_COMPARISON
|
||||
///
|
||||
%include std_pair.i
|
||||
%include std_map.i
|
||||
%include std_multimap.i
|
||||
|
||||
%inline %{
|
||||
struct A{
|
||||
|
|
@ -21,6 +20,7 @@ namespace std
|
|||
%template(pairii) pair<int, int>;
|
||||
%template(pairA) pair<int, A*>;
|
||||
%template(mapA) map<int, A*>;
|
||||
%template(mmapA) multimap<int, A*>;
|
||||
|
||||
%template(paircA1) pair<const int, A*>;
|
||||
%template(paircA2) pair<const int, const A*>;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue