The R Project SVN R

Rev

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

Rev 71308 Rev 71676
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
#include <R_ext/Boolean.h>
32
// Support for NO_C_HEADERS added in R 3.3.0
33
#include <R_ext/RStartup.h>
-
 
34
 
33
#ifdef __cplusplus
35
#ifdef __cplusplus
34
# ifndef NO_C_HEADERS
-
 
35
#  include <cstdio>
36
# include <cstdio>
36
#  ifdef __SUNPRO_CC
-
 
37
using std::FILE;
-
 
38
#  endif
-
 
39
# 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
50
# define NORET
45
# define NORET
51
#endif
46
#endif
52
 
47
 
53
#include <R_ext/Boolean.h>
-
 
54
#include <R_ext/RStartup.h>
-
 
55
 
-
 
56
/* from Defn.h */
48
/* from Defn.h */
57
/* this duplication will be removed in due course */
49
/* this duplication will be removed in due course */
58
 
50
 
59
extern Rboolean R_Interactive;	/* TRUE during interactive use*/
51
extern Rboolean R_Interactive;	/* TRUE during interactive use*/
60
extern Rboolean	R_Slave;	/* Run as a slave process */
52
extern Rboolean	R_Slave;	/* Run as a slave process */
Line 89... Line 81...
89
 
81
 
90
void process_site_Renviron(void);
82
void process_site_Renviron(void);
91
void process_system_Renviron(void);
83
void process_system_Renviron(void);
92
void process_user_Renviron(void);
84
void process_user_Renviron(void);
93
 
85
 
-
 
86
#ifdef __cplusplus
-
 
87
extern std::FILE * R_Consolefile;
-
 
88
extern std::FILE * R_Outputfile;
-
 
89
#else
94
extern FILE * R_Consolefile;
90
extern FILE * R_Consolefile;
95
extern FILE * R_Outputfile;
91
extern FILE * R_Outputfile;
96
 
92
#endif
97
 
93
 
98
/* in ../unix/sys-unix.c */
94
/* in ../unix/sys-unix.c */
99
void R_setStartTime(void);
95
void R_setStartTime(void);
100
void fpu_setup(Rboolean);
96
void fpu_setup(Rboolean);
101
 
97