diff options
Diffstat (limited to 'fitz/fitz-internal.h')
-rw-r--r-- | fitz/fitz-internal.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/fitz/fitz-internal.h b/fitz/fitz-internal.h index 05d7b52f..2f7f8041 100644 --- a/fitz/fitz-internal.h +++ b/fitz/fitz-internal.h @@ -419,6 +419,13 @@ void fz_write_buffer_bits(fz_context *ctx, fz_buffer *buf, int val, int bits); void fz_write_buffer_pad(fz_context *ctx, fz_buffer *buf); +/* + fz_buffer_printf: print formatted to a buffer. The buffer will + grow, but the caller must ensure that no more than 256 bytes are + added to the buffer per call. +*/ +void fz_buffer_printf(fz_context *ctx, fz_buffer *buffer, char *fmt, ...); + struct fz_stream_s { fz_context *ctx; |