fix R namespace conflict

git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@12931 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
Joseph Wang 2012-03-18 06:22:04 +00:00
commit 6e6e45f8be

View file

@ -4,6 +4,11 @@
%{
#include <boost/shared_ptr.hpp>
#ifdef SWIGR
// remove naming conflict with R symbol
#define INTEGER MYINTEGER
#endif
typedef int INTEGER;
template <class T>