From 91195d34e1f71246cadc41705004d66ab647087e Mon Sep 17 00:00:00 2001 From: cflip Date: Sun, 8 Jan 2023 14:15:01 -0700 Subject: Initial import of existing source code This is based off of snaptoken's "Build Your Own Text Editor" tutorial at https://viewsourcecode.org/snaptoken/kilo/. --- file.h | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 file.h (limited to 'file.h') diff --git a/file.h b/file.h new file mode 100644 index 0000000..831d193 --- /dev/null +++ b/file.h @@ -0,0 +1,6 @@ +#pragma once + +#include "editor.h" + +void editor_open(struct editor_state* editor, char* filename); +void editor_save(struct editor_state* editor); -- cgit v1.2.3