diff options
author | pommicket <pommicket@gmail.com> | 2023-01-04 13:06:13 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-01-04 13:06:13 -0500 |
commit | 4293f5284971473afaa43b83075d4d985b976622 (patch) | |
tree | 498243bee09fab77d0a3414c9cc8ad421a7f1136 /buffer.c | |
parent | 98c618770f44a2bde4b5ba45c7390971c91a3fc3 (diff) |
more documentation
Diffstat (limited to 'buffer.c')
-rw-r--r-- | buffer.c | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -1,10 +1,11 @@ -#include "ted.h" - - // Text buffers - These store the contents of a file. // NOTE: All text editing should be done through the two functions // buffer_insert_text_at_pos and buffer_delete_chars_at_pos +#include "ted.h" + + + // this is a macro so we get -Wformat warnings #define buffer_seterr(buffer, ...) \ snprintf(buffer->error, sizeof buffer->error - 1, __VA_ARGS__) |