diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2015-01-20 16:42:29 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2015-02-17 16:36:10 +0100 |
commit | 681039767f2ccc72e236246178893eb0989169c9 (patch) | |
tree | 2eccad54c5b5bc964335dc97fe5b0fec8449d16e /source/fitz/device.c | |
parent | 76a09166ddbe5b741f54f0fd203f2135e5b532c3 (diff) | |
download | mupdf-681039767f2ccc72e236246178893eb0989169c9.tar.xz |
Rename fz_close_* and fz_free_* to fz_drop_*.
Rename fz_close to fz_drop_stream.
Rename fz_close_archive to fz_drop_archive.
Rename fz_close_output to fz_drop_output.
Rename fz_free_* to fz_drop_*.
Rename pdf_free_* to pdf_drop_*.
Rename xps_free_* to xps_drop_*.
Diffstat (limited to 'source/fitz/device.c')
-rw-r--r-- | source/fitz/device.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/fitz/device.c b/source/fitz/device.c index a13cd470..cb57256e 100644 --- a/source/fitz/device.c +++ b/source/fitz/device.c @@ -13,12 +13,12 @@ fz_new_device(fz_context *ctx, void *user) } void -fz_free_device(fz_device *dev) +fz_drop_device(fz_device *dev) { if (dev == NULL) return; - if (dev->free_user) - dev->free_user(dev); + if (dev->drop_user) + dev->drop_user(dev); fz_free(dev->ctx, dev->container); fz_free(dev->ctx, dev); } |