diff options
author | Paul Gardiner <paul@glidos.net> | 2012-05-07 14:35:01 +0100 |
---|---|---|
committer | Paul Gardiner <paul@glidos.net> | 2012-05-07 14:35:01 +0100 |
commit | 994bd7d7a1cf652cffa313c10466abe0165448b3 (patch) | |
tree | 870b0c23766256e53c45603ef9f2b9d280f29470 /fitz/fitz-internal.h | |
parent | 63fc310d23f3fd3b54739a44208f3317add18caf (diff) | |
download | mupdf-994bd7d7a1cf652cffa313c10466abe0165448b3.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 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/fitz/fitz-internal.h b/fitz/fitz-internal.h index bd19886c..97bbfa5c 100644 --- a/fitz/fitz-internal.h +++ b/fitz/fitz-internal.h @@ -410,6 +410,11 @@ void fz_grow_buffer(fz_context *ctx, fz_buffer *buf); */ void fz_trim_buffer(fz_context *ctx, fz_buffer *buf); +/* + fz_buffer_printf: print formatted to a buffer, growing if necessary +*/ +void fz_buffer_printf(fz_context *ctx, fz_buffer *buffer, char *fmt, ...); + struct fz_stream_s { fz_context *ctx; |