diff options
author | Robin Watts <robin.watts@artifex.com> | 2017-03-28 11:37:30 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2017-03-28 11:38:28 +0100 |
commit | 2c6de6e7a8374ba454f1852377fa65ac1216e626 (patch) | |
tree | c701b01dd8f9d5f02e846cc648c360c2ccdc20f5 /source/fitz/document.c | |
parent | a7e597397133d4aaa717869258eac6ae34c7dad0 (diff) | |
download | mupdf-2c6de6e7a8374ba454f1852377fa65ac1216e626.tar.xz |
Rejig fz_new_annot to fz_new_derived_annot.
More consistent with the rest of the code.
Diffstat (limited to 'source/fitz/document.c')
-rw-r--r-- | source/fitz/document.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/fitz/document.c b/source/fitz/document.c index 2fb64ad9..8bf8d348 100644 --- a/source/fitz/document.c +++ b/source/fitz/document.c @@ -385,8 +385,8 @@ fz_run_page(fz_context *ctx, fz_page *page, fz_device *dev, const fz_matrix *tra } } -void * -fz_new_annot(fz_context *ctx, int size) +fz_annot * +fz_new_annot_of_size(fz_context *ctx, int size) { fz_annot *annot = Memento_label(fz_calloc(ctx, 1, size), "fz_annot"); annot->refs = 1; |