From d086a162c7c776bad95d85c128599438fbf77395 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Thu, 22 Oct 2015 19:16:06 +0200 Subject: text: introduce text_appendf utility function --- text.h | 1 + 1 file changed, 1 insertion(+) (limited to 'text.h') diff --git a/text.h b/text.h index 8bbb32f..d338e0b 100644 --- a/text.h +++ b/text.h @@ -37,6 +37,7 @@ typedef struct { Text *text_load(const char *filename); /* file information at time of load or last save */ struct stat text_stat(Text*); +bool text_appendf(Text*, const char *format, ...); bool text_printf(Text*, size_t pos, const char *format, ...); bool text_vprintf(Text*, size_t pos, const char *format, va_list ap); /* insert `len' bytes starting from `data' at `pos' which has to be -- cgit v1.2.3