diff options
author | pommicket <pommicket@gmail.com> | 2023-02-28 19:39:06 -0500 |
---|---|---|
committer | pommicket <pommicket@gmail.com> | 2023-02-28 19:39:06 -0500 |
commit | 52ba910a48a4dd2abb798c3c998ecb0e006c1895 (patch) | |
tree | 5fa4b3fb1e28ee1027aaa02a78ddf9b9bd7b59f5 /buffer.c | |
parent | 5e92dac7b8ff9d60bfa3dcc69c3f77663a01aea4 (diff) |
doxygen documentation
Diffstat (limited to 'buffer.c')
-rw-r--r-- | buffer.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -441,8 +441,7 @@ static BufferPos buffer_pos_advance(TextBuffer *buffer, BufferPos pos, size_t nc } -// returns "p2 - p1", that is, the number of characters between p1 and p2. -static i64 buffer_pos_diff(TextBuffer *buffer, BufferPos p1, BufferPos p2) { +i64 buffer_pos_diff(TextBuffer *buffer, BufferPos p1, BufferPos p2) { assert(buffer_pos_valid(buffer, p1)); assert(buffer_pos_valid(buffer, p2)); |