The R Project SVN R

Rev

Rev 70852 | Rev 71373 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 70852 Rev 71371
Line 27... Line 27...
27
*/
27
*/
28
 
28
 
29
#ifndef RINTERFACE_H_
29
#ifndef RINTERFACE_H_
30
#define RINTERFACE_H_
30
#define RINTERFACE_H_
31
 
31
 
32
// Support for NO_C_HEADERS added in R 3.3.0
-
 
33
#ifdef __cplusplus
32
#ifdef __cplusplus
34
# ifndef NO_C_HEADERS
-
 
35
#  include <cstdio>
33
# include <cstdio>
36
#  ifdef __SUNPRO_CC
34
# ifdef __SUNPRO_CC
37
using std::FILE;
35
using std::FILE;
38
#  endif
-
 
39
# endif
36
# endif
40
extern "C" {
37
extern "C" {
41
#else
38
#else
42
# ifndef NO_C_HEADERS
-
 
43
#  include <stdio.h>
39
# include <stdio.h>
44
#endif
-
 
45
#endif
40
#endif
46
 
41
 
47
#if defined(__GNUC__) && __GNUC__ >= 3
42
#if defined(__GNUC__) && __GNUC__ >= 3
48
# define NORET __attribute__((noreturn))
43
# define NORET __attribute__((noreturn))
49
#else
44
#else