diff options
author | Robin Watts <robin.watts@artifex.com> | 2016-06-24 19:12:57 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2016-06-27 18:53:06 +0100 |
commit | 95e00288f046fd3af4ae948525d99022a9db0fde (patch) | |
tree | 1264a3182bf2552f965ec1a3920b341761f388a2 /include/mupdf/fitz/image.h | |
parent | 6b056736e0363f398122da3a91426a9b4c1335ed (diff) | |
download | mupdf-95e00288f046fd3af4ae948525d99022a9db0fde.tar.xz |
Fix GProof operation.
Broken due to recent API changes.
Also retire SUPPORT_GPROOF in favour of FZ_ENABLE_GPRF.
Diffstat (limited to 'include/mupdf/fitz/image.h')
-rw-r--r-- | include/mupdf/fitz/image.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/mupdf/fitz/image.h b/include/mupdf/fitz/image.h index c8cde1ac..337fd075 100644 --- a/include/mupdf/fitz/image.h +++ b/include/mupdf/fitz/image.h @@ -52,6 +52,14 @@ fz_pixmap *fz_get_pixmap_from_image(fz_context *ctx, fz_image *image, const fz_i void fz_drop_image(fz_context *ctx, fz_image *image); /* + fz_drop_image: Drop a reference to the base class of an + image (for internal use in derived image classes only). + + image: The image to drop a reference to. +*/ +void fz_drop_image_base(fz_context *ctx, fz_image *image); + +/* fz_keep_image: Increment the reference count of an image. image: The image to take a reference to. |