Bill Allombert on Tue, 19 Jan 2016 15:45:42 +0100 |
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
Re: Move readline interface to libpari |
On Tue, Jan 19, 2016 at 10:20:11AM +0100, Jeroen Demeyer wrote: > On 2016-01-18 18:01, Bill Allombert wrote: > >+/* readline */ > >+typedef char* (*readline_GF)(const char*, int); /* generator function > >*/ > > > >We can probably dispense with the typedef readline_GF. > > This is a version without readline_GF. Excellent! Now maybe keyword_list could be replaced by a function const char * const * pari_keyword_list(void); that return a pointer to the list, instead of being a global variable. Cheers, Bill.