summaryrefslogtreecommitdiff
path: root/fitz/fitz-internal.h
diff options
context:
space:
mode:
authorPaul Gardiner <paul@glidos.net>2012-05-07 14:35:01 +0100
committerPaul Gardiner <paul@glidos.net>2012-05-07 14:35:01 +0100
commit994bd7d7a1cf652cffa313c10466abe0165448b3 (patch)
tree870b0c23766256e53c45603ef9f2b9d280f29470 /fitz/fitz-internal.h
parent63fc310d23f3fd3b54739a44208f3317add18caf (diff)
downloadmupdf-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.h5
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;