From 56d2dc51d0725a58f4b9ac67d2374e69cf8b8005 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Sat, 8 Aug 2015 10:41:34 +0200 Subject: text: rename some functions to improve consistency --- text.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'text.h') 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*); -- cgit v1.2.3