The R Project SVN R

Rev

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

Rev 5458 Rev 32774
Line 19... Line 19...
19
 
19
 
20
/*
20
/*
21
 *  I/O Support for Consoles and Character Vectors
21
 *  I/O Support for Consoles and Character Vectors
22
 *
22
 *
23
 *  This code provides analogues for the stdio routines "fgetc" and
23
 *  This code provides analogues for the stdio routines "fgetc" and
24
 *  "ungetc" for "consoles" and character vectors.  These routines
24
 *  (formerly) "ungetc" for "consoles" and character vectors.  These routines
25
 *  are used for parsing input from the console window and character
25
 *  are used for parsing input from the console window and character
26
 *  vectors.
26
 *  vectors.
27
 */
27
 */
28
 
28
 
29
#include <stdio.h>
29
#include <stdio.h>
Line 65... Line 65...
65
int R_IoBufferInit(IoBuffer*);
65
int R_IoBufferInit(IoBuffer*);
66
int R_IoBufferFree(IoBuffer*);
66
int R_IoBufferFree(IoBuffer*);
67
int R_IoBufferReadReset(IoBuffer*);
67
int R_IoBufferReadReset(IoBuffer*);
68
int R_IoBufferWriteReset(IoBuffer*);
68
int R_IoBufferWriteReset(IoBuffer*);
69
int R_IoBufferGetc(IoBuffer*);
69
int R_IoBufferGetc(IoBuffer*);
70
int R_IoBufferUngetc(int, IoBuffer*);
-
 
71
int R_IoBufferPutc(int, IoBuffer*);
70
int R_IoBufferPutc(int, IoBuffer*);
72
int R_IoBufferPuts(char*, IoBuffer*);
71
int R_IoBufferPuts(char*, IoBuffer*);
73
 
72
 
74
int R_TextBufferInit(TextBuffer*, SEXP);
73
int R_TextBufferInit(TextBuffer*, SEXP);
75
int R_TextBufferFree(TextBuffer*);
74
int R_TextBufferFree(TextBuffer*);
76
int R_TextBufferGetc(TextBuffer*);
75
int R_TextBufferGetc(TextBuffer*);
77
int R_TextBufferUngetc(int, TextBuffer*);
-