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:
parent
33e29f4847
commit
6e6e45f8be
1 changed files with 5 additions and 0 deletions
|
|
@ -4,6 +4,11 @@
|
||||||
%{
|
%{
|
||||||
#include <boost/shared_ptr.hpp>
|
#include <boost/shared_ptr.hpp>
|
||||||
|
|
||||||
|
#ifdef SWIGR
|
||||||
|
// remove naming conflict with R symbol
|
||||||
|
#define INTEGER MYINTEGER
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef int INTEGER;
|
typedef int INTEGER;
|
||||||
|
|
||||||
template <class T>
|
template <class T>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue