aboutsummaryrefslogtreecommitdiff
path: root/include/types.h
diff options
context:
space:
mode:
authorDavid Moc <personal@cdatgoose.org>2026-06-03 04:14:59 +0200
committerDavid Moc <personal@cdatgoose.org>2026-06-03 04:14:59 +0200
commitaba45a64364457f20e84de4189500f4426e11d53 (patch)
treefe42d47f01decd53e28bb187cd3d85de78035a46 /include/types.h
parentc1ccd38b31d722c843ab311338e2b8d1905eb8f8 (diff)
Added ffap and fixed an eval memory leakmain
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;