Editor FINISHED

saving works
This commit is contained in:
Nikola Petrov
2024-07-22 15:26:29 +02:00
parent 1ee0d2b459
commit b08c1651e6
3 changed files with 48 additions and 17 deletions

View File

@@ -1,6 +1,8 @@
#ifndef EDITOR_HPP
#define EDITOR_HPP
int edit_file(const char *s);
// buffer must me deleted
// null there we no changes to save
char *edit_file(const char *s, int &out_len);
#endif // EDITOR_HPP