summaryrefslogtreecommitdiff
path: root/fitz/fitz-internal.h
diff options
context:
space:
mode:
authorPaul Gardiner <paul@glidos.net>2012-05-31 16:38:54 +0100
committerPaul Gardiner <paul@glidos.net>2012-05-31 16:38:54 +0100
commit09f4fac813c208229ba2d33334db2f84be679d58 (patch)
treedfe1e8bb8ea618692fa6d754312bad9ac9176a31 /fitz/fitz-internal.h
parentae62fb9e522a55ce2390dd20999b4a67392940e0 (diff)
downloadmupdf-09f4fac813c208229ba2d33334db2f84be679d58.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.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/fitz/fitz-internal.h b/fitz/fitz-internal.h
index b3f7a73c..475f17d4 100644
--- a/fitz/fitz-internal.h
+++ b/fitz/fitz-internal.h
@@ -410,6 +410,13 @@ 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. 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;