diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2015-12-15 11:31:36 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2015-12-15 14:11:10 +0100 |
commit | 3afdcd7307fd5e68f35c7bb91a4d856499f1df44 (patch) | |
tree | 13253bb6d7af2716f882e878be956fa157544ec6 /source/fitz/document.c | |
parent | 88a1d527a50e3cc48606ce097a335669ae84a716 (diff) | |
download | mupdf-3afdcd7307fd5e68f35c7bb91a4d856499f1df44.tar.xz |
Rename fz_write_x to fz_save_pixmap_as_x or fz_save_bitmap_as_x.
Separate naming of functions that save complete files to disk
from functions that write data to streams.
Diffstat (limited to 'source/fitz/document.c')
-rw-r--r-- | source/fitz/document.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/fitz/document.c b/source/fitz/document.c index 1fc4ff87..588ee71c 100644 --- a/source/fitz/document.c +++ b/source/fitz/document.c @@ -240,10 +240,10 @@ fz_lookup_metadata(fz_context *ctx, fz_document *doc, const char *key, char *buf } void -fz_write_document(fz_context *ctx, fz_document *doc, char *filename, fz_write_options *opts) +fz_save_document(fz_context *ctx, fz_document *doc, char *filename, fz_save_options *opts) { - if (doc && doc->write) - doc->write(ctx, doc, filename, opts); + if (doc && doc->save) + doc->save(ctx, doc, filename, opts); } fz_page * |