Go back to extern C around R headers as per recommendation
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk@10119 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
9bc992c0e4
commit
0362693bd2
1 changed files with 4 additions and 4 deletions
|
|
@ -1,4 +1,8 @@
|
|||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/* Remove global namespace pollution */
|
||||
#if !defined(SWIG_NO_R_NO_REMAP)
|
||||
# define R_NO_REMAP
|
||||
|
|
@ -8,10 +12,6 @@
|
|||
#include <Rversion.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
#define SWIGR 1
|
||||
|
||||
#if R_VERSION >= R_Version(2,6,0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue