aboutsummaryrefslogtreecommitdiff
path: root/include/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/types.h')
-rw-r--r--include/types.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/types.h b/include/types.h
index c950bbb..129acb5 100644
--- a/include/types.h
+++ b/include/types.h
@@ -271,6 +271,11 @@ typedef struct ecex_major_mode {
char *name;
} ecex_major_mode_t;
+typedef struct ecex_eval_module {
+ char *key;
+ void *module;
+} ecex_eval_module_t;
+
struct ecex_window {
buffer_t *buffer;
float x;
@@ -343,6 +348,9 @@ struct ecex {
char *last_eval_source;
char *last_eval_filename;
int last_eval_wrap_as_statements;
+ ecex_eval_module_t *eval_modules;
+ size_t eval_module_cap;
+ size_t eval_module_count;
char *last_compile_command;
char *last_grep_command;