diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2015-10-22 19:16:06 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2015-10-22 19:16:06 +0200 |
| commit | d086a162c7c776bad95d85c128599438fbf77395 (patch) | |
| tree | 6486634ff6ad7860c5dbaba9d995db5c41d20879 /text.h | |
| parent | df52fff9d5edea050a97c4c5ac093869d5dcb074 (diff) | |
| download | vis-d086a162c7c776bad95d85c128599438fbf77395.tar.gz vis-d086a162c7c776bad95d85c128599438fbf77395.tar.xz | |
text: introduce text_appendf utility function
Diffstat (limited to 'text.h')
| -rw-r--r-- | text.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |
