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/output-pcl.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/output-pcl.c')
-rw-r--r-- | source/fitz/output-pcl.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/fitz/output-pcl.c b/source/fitz/output-pcl.c index 9d21a6d3..a87a84a9 100644 --- a/source/fitz/output-pcl.c +++ b/source/fitz/output-pcl.c @@ -790,7 +790,7 @@ fz_output_pcl_bitmap(fz_context *ctx, fz_output *out, const fz_bitmap *bitmap, f } void -fz_write_pcl(fz_context *ctx, fz_pixmap *pixmap, char *filename, int append, fz_pcl_options *pcl) +fz_save_pixmap_as_pcl(fz_context *ctx, fz_pixmap *pixmap, char *filename, int append, fz_pcl_options *pcl) { fz_output *out = fz_new_output_with_path(ctx, filename, append); fz_try(ctx) @@ -802,7 +802,7 @@ fz_write_pcl(fz_context *ctx, fz_pixmap *pixmap, char *filename, int append, fz_ } void -fz_write_pcl_bitmap(fz_context *ctx, fz_bitmap *bitmap, char *filename, int append, fz_pcl_options *pcl) +fz_save_bitmap_as_pcl(fz_context *ctx, fz_bitmap *bitmap, char *filename, int append, fz_pcl_options *pcl) { fz_output *out = fz_new_output_with_path(ctx, filename, append); fz_try(ctx) |