The R Project SVN R

Rev

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

Rev 43767 Rev 44195
Line 47... Line 47...
47
extern void R_ClearerrConsole(void);
47
extern void R_ClearerrConsole(void);
48
extern void R_Suicide(const char *);
48
extern void R_Suicide(const char *);
49
extern char *R_HomeDir(void);
49
extern char *R_HomeDir(void);
50
extern int R_DirtyImage;	/* Current image dirty */
50
extern int R_DirtyImage;	/* Current image dirty */
51
extern char *R_GUIType;
51
extern char *R_GUIType;
52
extern void R_setupHistory();
52
extern void R_setupHistory(void);
53
extern char *R_HistoryFile;	/* Name of the history file */
53
extern char *R_HistoryFile;	/* Name of the history file */
54
extern int R_HistorySize;	/* Size of the history file */
54
extern int R_HistorySize;	/* Size of the history file */
55
extern int R_RestoreHistory;	/* restore the history file? */
55
extern int R_RestoreHistory;	/* restore the history file? */
56
extern char *R_Home;		    /* Root of the R tree */
56
extern char *R_Home;		    /* Root of the R tree */
57
 
57
 
58
# define jump_to_toplevel	Rf_jump_to_toplevel
58
# define jump_to_toplevel	Rf_jump_to_toplevel
59
# define mainloop		Rf_mainloop
59
# define mainloop		Rf_mainloop
60
# define onintr			Rf_onintr
60
# define onintr			Rf_onintr
61
void jump_to_toplevel(void);
61
void jump_to_toplevel(void);
62
void mainloop(void);
62
void mainloop(void);
63
void onintr();
63
void onintr(void);
64
#ifndef DEFN_H_
64
#ifndef DEFN_H_
65
extern void* R_GlobalContext;    /* Need opaque pointer type for export */
65
extern void* R_GlobalContext;    /* Need opaque pointer type for export */
66
#endif
66
#endif
67
 
67
 
68
void process_site_Renviron();
68
void process_site_Renviron(void);
69
void process_system_Renviron();
69
void process_system_Renviron(void);
70
void process_user_Renviron();
70
void process_user_Renviron(void);
71
 
71
 
72
#include <stdio.h>
72
#include <stdio.h>
73
extern FILE * R_Consolefile;
73
extern FILE * R_Consolefile;
74
extern FILE * R_Outputfile;
74
extern FILE * R_Outputfile;
75
 
75
 
Line 100... Line 100...
100
extern void (*ptr_R_Suicide)(const char *);
100
extern void (*ptr_R_Suicide)(const char *);
101
extern void (*ptr_R_ShowMessage)(const char *);
101
extern void (*ptr_R_ShowMessage)(const char *);
102
extern int  (*ptr_R_ReadConsole)(const char *, unsigned char *, int, int);
102
extern int  (*ptr_R_ReadConsole)(const char *, unsigned char *, int, int);
103
extern void (*ptr_R_WriteConsole)(const char *, int);
103
extern void (*ptr_R_WriteConsole)(const char *, int);
104
extern void (*ptr_R_WriteConsoleEx)(const char *, int, int);
104
extern void (*ptr_R_WriteConsoleEx)(const char *, int, int);
105
extern void (*ptr_R_ResetConsole)();
105
extern void (*ptr_R_ResetConsole)(void);
106
extern void (*ptr_R_FlushConsole)();
106
extern void (*ptr_R_FlushConsole)(void);
107
extern void (*ptr_R_ClearerrConsole)();
107
extern void (*ptr_R_ClearerrConsole)(void);
108
extern void (*ptr_R_Busy)(int);
108
extern void (*ptr_R_Busy)(int);
109
extern void (*ptr_R_CleanUp)(SA_TYPE, int, int);
109
extern void (*ptr_R_CleanUp)(SA_TYPE, int, int);
110
extern int  (*ptr_R_ShowFiles)(int, const char **, const char **,
110
extern int  (*ptr_R_ShowFiles)(int, const char **, const char **,
111
			       const char *, Rboolean, const char *);
111
			       const char *, Rboolean, const char *);
112
extern int  (*ptr_R_ChooseFile)(int, char *, int);
112
extern int  (*ptr_R_ChooseFile)(int, char *, int);
Line 119... Line 119...
119
extern int  (*ptr_R_EditFiles)(int, const char **, const char **, const char *);
119
extern int  (*ptr_R_EditFiles)(int, const char **, const char **, const char *);
120
#endif
120
#endif
121
 
121
 
122
/* These two are not used by R itself, but are used by the GNOME front-end
122
/* These two are not used by R itself, but are used by the GNOME front-end
123
   and the tcltk package */
123
   and the tcltk package */
124
extern int  (*R_timeout_handler)();
124
extern int  (*R_timeout_handler)(void);
125
extern long R_timeout_val;
125
extern long R_timeout_val;
126
 
126
 
127
#endif /* R_INTERFACE_PTRS */
127
#endif /* R_INTERFACE_PTRS */
128
 
128
 
129
#ifdef __SYSTEM__
129
#ifdef __SYSTEM__