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:
William S Fulton 2007-11-12 22:21:11 +00:00
commit 0362693bd2

View file

@ -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)