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 /platform/ios/common.m | |
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 'platform/ios/common.m')
-rw-r--r-- | platform/ios/common.m | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/platform/ios/common.m b/platform/ios/common.m index f4a1676d..6ca320e9 100644 --- a/platform/ios/common.m +++ b/platform/ios/common.m @@ -25,12 +25,12 @@ int search_page(fz_document *doc, int number, char *needle, fz_cookie *cookie) fz_text_page *text = fz_new_text_page(ctx); fz_device *dev = fz_new_text_device(ctx, sheet, text); fz_run_page(doc, page, dev, &fz_identity, cookie); - fz_free_device(dev); + fz_drop_device(dev); hit_count = fz_search_text_page(ctx, text, needle, hit_bbox, nelem(hit_bbox)); - fz_free_text_page(ctx, text); - fz_free_text_sheet(ctx, sheet); + fz_drop_text_page(ctx, text); + fz_drop_text_sheet(ctx, sheet); fz_free_page(doc, page); return hit_count; |