diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2015-08-08 10:41:34 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2015-08-08 10:41:34 +0200 |
| commit | 56d2dc51d0725a58f4b9ac67d2374e69cf8b8005 (patch) | |
| tree | bfa477a4ed451bb71cb9d06ee6e9784542bd0c76 /text.h | |
| parent | 36abe5af5738381f21f556ce26a1e80bd5eacfe0 (diff) | |
| download | vis-56d2dc51d0725a58f4b9ac67d2374e69cf8b8005.tar.gz vis-56d2dc51d0725a58f4b9ac67d2374e69cf8b8005.tar.xz | |
text: rename some functions to improve consistency
Diffstat (limited to 'text.h')
| -rw-r--r-- | text.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -116,11 +116,11 @@ enum TextNewLine text_newline_type(Text*); * In which case an implicit snapshot is taken. The save might associate a * new inode to file. */ bool text_save(Text*, const char *filename); -bool text_range_save(Text*, Filerange*, const char *file); +bool text_save_range(Text*, Filerange*, const char *file); /* write the text content to the given file descriptor `fd'. Return the * number of bytes written or -1 in case there was an error. */ ssize_t text_write(Text*, int fd); -ssize_t text_range_write(Text*, Filerange*, int fd); +ssize_t text_write_range(Text*, Filerange*, int fd); /* release all ressources associated with this text instance */ void text_free(Text*); |
