Mescal
Loading...
Searching...
No Matches
readline.h
1#ifndef READLINE_H_
2#define READLINE_H_
3
4#include "alloc.h"
5#include "error.h"
6#include <readline/history.h>
7#include <readline/readline.h>
8#include <stdlib.h>
9#include <string.h>
10
11#define DEFAULT_HISTORY_SIZE 1000
12
13extern int history_size;
14
15extern char *histfile;
16
17extern const char *all_strings[];
18
19void set_history_size(int size);
20
21void initialize_readline(char *prefix);
22
23char **keyword_name_completion(const char *text, int start, int end);
24
25char *keyword_name_generator(const char *, int);
26
27#endif // READLINE_H_
Macros and functions to help memory allocation.
Macros for displaying error messages.