summaryrefslogtreecommitdiff
path: root/examples/dte/msg.h
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2026-01-21 22:52:54 +0100
committerMitja Felicijan <mitja.felicijan@gmail.com>2026-01-21 22:52:54 +0100
commitdcacc00e3750300617ba6e16eb346713f91a783a (patch)
tree38e2d4fb5ed9d119711d4295c6eda4b014af73fd /examples/dte/msg.h
parent58dac10aeb8f5a041c46bddbeaf4c7966a99b998 (diff)
downloadcrep-dcacc00e3750300617ba6e16eb346713f91a783a.tar.gz
Remove testing data
Diffstat (limited to 'examples/dte/msg.h')
-rw-r--r--examples/dte/msg.h30
1 files changed, 0 insertions, 30 deletions
diff --git a/examples/dte/msg.h b/examples/dte/msg.h
deleted file mode 100644
index b23fa25..0000000
--- a/examples/dte/msg.h
+++ /dev/null
@@ -1,30 +0,0 @@
-#ifndef MSG_H
-#define MSG_H
-
-#include <stdbool.h>
-#include <stddef.h>
-#include "bookmark.h"
-#include "util/macros.h"
-#include "util/ptr-array.h"
-#include "util/string.h"
-
-typedef struct {
- FileLocation *loc;
- char msg[];
-} Message;
-
-typedef struct {
- PointerArray array;
- size_t pos;
-} MessageArray;
-
-struct EditorState;
-
-Message *new_message(const char *msg, size_t len) RETURNS_NONNULL;
-void add_message(MessageArray *msgs, Message *m) NONNULL_ARGS;
-bool activate_current_message(struct EditorState *e) NONNULL_ARGS;
-bool activate_current_message_save(struct EditorState *e) NONNULL_ARGS;
-void clear_messages(MessageArray *msgs) NONNULL_ARGS;
-String dump_messages(const MessageArray *messages) NONNULL_ARGS;
-
-#endif