summaryrefslogtreecommitdiff
path: root/include/mupdf/fitz/buffer.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/mupdf/fitz/buffer.h')
-rw-r--r--include/mupdf/fitz/buffer.h23
1 files changed, 7 insertions, 16 deletions
diff --git a/include/mupdf/fitz/buffer.h b/include/mupdf/fitz/buffer.h
index a96f7603..0d0bb3b0 100644
--- a/include/mupdf/fitz/buffer.h
+++ b/include/mupdf/fitz/buffer.h
@@ -110,28 +110,19 @@ void fz_trim_buffer(fz_context *ctx, fz_buffer *buf);
*/
void fz_buffer_cat(fz_context *ctx, fz_buffer *buf, fz_buffer *extra);
+/*
+ fz_write_buffer*: write to a buffer.
+ fz_buffer_printf: print formatted to a buffer.
+ fz_buffer_cat_pdf_string: Print a string using PDF syntax and escapes.
+ The buffer will grow as required.
+*/
void fz_write_buffer(fz_context *ctx, fz_buffer *buf, const void *data, int len);
-
void fz_write_buffer_byte(fz_context *ctx, fz_buffer *buf, int val);
-
void fz_write_buffer_rune(fz_context *ctx, fz_buffer *buf, int val);
-
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
- as required.
-*/
int fz_buffer_printf(fz_context *ctx, fz_buffer *buffer, const char *fmt, ...);
int fz_buffer_vprintf(fz_context *ctx, fz_buffer *buffer, const char *fmt, va_list args);
-
-/*
- fz_buffer_printf: print a string formatted as a pdf string to a buffer.
- The buffer will grow.
-*/
-void
-fz_buffer_cat_pdf_string(fz_context *ctx, fz_buffer *buffer, const char *text);
+void fz_buffer_cat_pdf_string(fz_context *ctx, fz_buffer *buffer, const char *text);
#endif