| 18 |
#include <string.h> |
#include <string.h> |
| 19 |
#include <sys/param.h> |
#include <sys/param.h> |
| 20 |
|
|
| 21 |
#define EDITOR_ESC_DISPLAY_STR "\033[32m*\033[m" |
enum _editor_constant_t |
| 22 |
#define EDITOR_MEM_POOL_LINE_PER_CHUNK 1000 |
{ |
| 23 |
#define EDITOR_MEM_POOL_CHUNK_LIMIT (MAX_EDITOR_DATA_LINES / EDITOR_MEM_POOL_LINE_PER_CHUNK + 1) |
EDITOR_MEM_POOL_LINE_PER_CHUNK = 1000, |
| 24 |
|
EDITOR_MEM_POOL_CHUNK_LIMIT = (MAX_EDITOR_DATA_LINES / EDITOR_MEM_POOL_LINE_PER_CHUNK + 1), |
| 25 |
|
}; |
| 26 |
|
|
| 27 |
|
static const char EDITOR_ESC_DISPLAY_STR[] = "\033[32m*\033[m"; |
| 28 |
|
|
| 29 |
static MEMORY_POOL *p_mp_data_line; |
static MEMORY_POOL *p_mp_data_line; |
| 30 |
static MEMORY_POOL *p_mp_editor_data; |
static MEMORY_POOL *p_mp_editor_data; |