Changeset 172d852 in git for kernel/oswrapper/feread.cc
- Timestamp:
- Jan 24, 2019, 2:32:29 PM (5 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 08394f319ba420091cccad7e025c3f7cac04c373
- Parents:
- 5abb79fd2458b47b21d297f2c8b26f285ac9546f756676ef1fcf4cff300fb1607a6d21293b253245
- git-author:
- Hans Schoenemann <hannes@mathematik.uni-kl.de>2019-01-24 14:32:29+01:00
- git-committer:
- GitHub <noreply@github.com>2019-01-24 14:32:29+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/oswrapper/feread.cc
r5abb79f r172d852 54 54 char *command_generator (char *text, int state) 55 55 { 56 staticint list_index, len;57 staticidhdl h;56 STATIC_VAR int list_index, len; 57 STATIC_VAR idhdl h; 58 58 const char *name; 59 59 … … 126 126 #ifndef READLINE_READLINE_H_OK 127 127 /* declare everything we need explicitely and do not rely on includes */ 128 externchar * rl_readline_name;129 externchar *rl_line_buffer;128 EXTERN_VAR char * rl_readline_name; 129 EXTERN_VAR char *rl_line_buffer; 130 130 char *rl_filename_completion_function(const char*, int); 131 131 typedef char **CPPFunction (); 132 132 133 133 extern char ** rl_completion_matches (const char*, RL_PROC); 134 externCPPFunction * rl_attempted_completion_function;135 externFILE * rl_outstream;134 EXTERN_VAR CPPFunction * rl_attempted_completion_function; 135 EXTERN_VAR FILE * rl_outstream; 136 136 extern char * readline (const char *); 137 137 extern void add_history (char *); … … 164 164 char *(*fe_filename_completion_function)(); /* 3 */ 165 165 char *(* fe_readline) (char *); /* 4 */ 166 void (*fe_add_history) (char *); /* 5 */167 char ** fe_rl_readline_name; /* 6 */168 char **fe_rl_line_buffer; /* 7 */166 VAR void (*fe_add_history) (char *); /* 5 */ 167 VAR char ** fe_rl_readline_name; /* 6 */ 168 VAR char **fe_rl_line_buffer; /* 7 */ 169 169 char **(*fe_completion_matches)(...); /* 8 */ 170 CPPFunction **fe_rl_attempted_completion_function; /* 9 */171 FILE ** fe_rl_outstream; /* 10 */172 int (*fe_write_history) (); /* 11 */173 int (*fe_history_total_bytes) (); /* 12 */174 void (*fe_using_history) (); /* 13 */175 int (*fe_read_history) (char *); /* 14 */170 VAR CPPFunction **fe_rl_attempted_completion_function; /* 9 */ 171 VAR FILE ** fe_rl_outstream; /* 10 */ 172 VAR int (*fe_write_history) (); /* 11 */ 173 VAR int (*fe_history_total_bytes) (); /* 12 */ 174 VAR void (*fe_using_history) (); /* 13 */ 175 VAR int (*fe_read_history) (char *); /* 14 */ 176 176 177 177 }
Note: See TracChangeset
for help on using the changeset viewer.