aboutsummaryrefslogtreecommitdiff
path: root/text.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2015-08-08 10:41:34 +0200
committerMarc André Tanner <mat@brain-dump.org>2015-08-08 10:41:34 +0200
commit56d2dc51d0725a58f4b9ac67d2374e69cf8b8005 (patch)
treebfa477a4ed451bb71cb9d06ee6e9784542bd0c76 /text.h
parent36abe5af5738381f21f556ce26a1e80bd5eacfe0 (diff)
downloadvis-56d2dc51d0725a58f4b9ac67d2374e69cf8b8005.tar.gz
vis-56d2dc51d0725a58f4b9ac67d2374e69cf8b8005.tar.xz
text: rename some functions to improve consistency
Diffstat (limited to 'text.h')
-rw-r--r--text.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/text.h b/text.h
index 7d7f19d..48b630f 100644
--- a/text.h
+++ b/text.h
@@ -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*);