diff options
author | Paul Gardiner <paul@glidos.net> | 2012-05-31 16:38:54 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2012-06-12 16:55:29 +0100 |
commit | 15f43c4cccc960559ea6967c7fe1439cde54b0aa (patch) | |
tree | 0a9385cb96ef1e37d7fed5b158739494bf367bb6 /fitz/fitz-internal.h | |
parent | 2dfb38a5d55737e0bfaca9af5f77f17b3bde8f41 (diff) | |
download | mupdf-15f43c4cccc960559ea6967c7fe1439cde54b0aa.tar.xz |
A few general utility functions added for the sake of the forms work
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; |