The R Project SVN R

Rev

Rev 89790 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 89790 Rev 89813
Line 70... Line 70...
70
    ptr_R_Suicide(s);
70
    ptr_R_Suicide(s);
71
    // This should not have returned, but belt-and-braces
71
    // This should not have returned, but belt-and-braces
72
    exit(2); // same status as Rstd_Suicide
72
    exit(2); // same status as Rstd_Suicide
73
}
73
}
74
void R_ShowMessage(const char *s) { ptr_R_ShowMessage(s); }
74
void R_ShowMessage(const char *s) { ptr_R_ShowMessage(s); }
75
#ifdef AFTER_RJAVA_FIX
-
 
76
int R_ReadConsole(const char *prompt, unsigned char *buf, int len, int addtohistory)
75
int R_ReadConsole(const char *prompt, unsigned char *buf, int len, int addtohistory)
77
#else
-
 
78
// work-around for non-matching declaration in rJava
-
 
79
int R_ReadConsole(char *prompt, unsigned char *buf, int len, int addtohistory)
-
 
80
#endif
-
 
81
{ return ptr_R_ReadConsole(prompt, buf, len, addtohistory); }
76
{ return ptr_R_ReadConsole(prompt, buf, len, addtohistory); }
82
void R_WriteConsole(const char *buf, int len) {if (ptr_R_WriteConsole) ptr_R_WriteConsole(buf, len); else ptr_R_WriteConsoleEx(buf, len, 0); }
77
void R_WriteConsole(const char *buf, int len) {if (ptr_R_WriteConsole) ptr_R_WriteConsole(buf, len); else ptr_R_WriteConsoleEx(buf, len, 0); }
83
void R_WriteConsoleEx(const char *buf, int len, int otype) {if (ptr_R_WriteConsole) ptr_R_WriteConsole(buf, len); else ptr_R_WriteConsoleEx(buf, len, otype); }
78
void R_WriteConsoleEx(const char *buf, int len, int otype) {if (ptr_R_WriteConsole) ptr_R_WriteConsole(buf, len); else ptr_R_WriteConsoleEx(buf, len, otype); }
84
void R_ResetConsole(void) { ptr_R_ResetConsole(); }
79
void R_ResetConsole(void) { ptr_R_ResetConsole(); }
85
#ifndef HAVE_AQUA
80
#ifndef HAVE_AQUA