The R Project SVN R

Rev

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

Rev 10222 Rev 20824
Line 9... Line 9...
9
#include <stddef.h>
9
#include <stddef.h>
10
 
10
 
11
typedef size_t (*gl_strwidth_proc)(char *);
11
typedef size_t (*gl_strwidth_proc)(char *);
12
 
12
 
13
/* read a line of input */
13
/* read a line of input */
14
char           *getline(char *prompt, char *buf, int maxlen);  
14
int             getline(char *prompt, char *buf, int maxlen);  
15
 
15
 
16
void            gl_setwidth(int);		/* specify width of screen */
16
void            gl_setwidth(int);		/* specify width of screen */
17
void            gl_histadd(char *);		/* adds entries to hist */
17
void            gl_histadd(char *);		/* adds entries to hist */
18
void		gl_strwidth(gl_strwidth_proc);	/* to bind gl_strlen */
18
void		gl_strwidth(gl_strwidth_proc);	/* to bind gl_strlen */
19
void		gl_loadhistory(char *);
19
void		gl_loadhistory(char *);