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
|
|
@ -10,11 +10,7 @@
|
|||
// std::map
|
||||
// ------------------------------------------------------------------------
|
||||
|
||||
// "map" is a keyword in Go.
|
||||
#define map cmap
|
||||
|
||||
%{
|
||||
#define map cmap
|
||||
#include <map>
|
||||
#include <algorithm>
|
||||
#include <stdexcept>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue