Fix std::map warning keyword hack in Go
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12121 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
7e7bd74ff2
commit
688db4ee29
3 changed files with 12 additions and 5 deletions
|
|
@ -1,6 +1,15 @@
|
|||
%module("templatereduce") li_std_map
|
||||
%feature("trackobjects");
|
||||
|
||||
%inline %{
|
||||
namespace another {
|
||||
struct map {
|
||||
int val;
|
||||
map(int x) : val(x) {}
|
||||
};
|
||||
}
|
||||
%}
|
||||
|
||||
%include "std_pair.i"
|
||||
%include "std_map.i"
|
||||
%include "std_string.i"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue