From 3afdcd7307fd5e68f35c7bb91a4d856499f1df44 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Tue, 15 Dec 2015 11:31:36 +0100 Subject: 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. --- source/fitz/output-pcl.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/fitz/output-pcl.c') 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) -- cgit v1.2.3