diff options
author | Robin Watts <Robin.Watts@artifex.com> | 2017-03-21 15:53:01 -0400 |
---|---|---|
committer | Robin Watts <Robin.Watts@artifex.com> | 2017-03-22 18:29:42 -0400 |
commit | 546e1fce1b1556f56860a46f326094b997a3237c (patch) | |
tree | 1bdf70ae60a0a84daa1a6e37e3cc04d612e38b49 /source/fitz | |
parent | ad65190db33e7024b71cd21a6ea1483940f0bf92 (diff) | |
download | mupdf-546e1fce1b1556f56860a46f326094b997a3237c.tar.xz |
Update fz_new_page.
Move this into the same style as fz_new_document and
fz_new_image.
Diffstat (limited to 'source/fitz')
-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 41abb736..2fb64ad9 100644 --- a/source/fitz/document.c +++ b/source/fitz/document.c @@ -410,8 +410,8 @@ fz_drop_annot(fz_context *ctx, fz_annot *annot) } } -void * -fz_new_page(fz_context *ctx, int size) +fz_page * +fz_new_page_of_size(fz_context *ctx, int size) { fz_page *page = Memento_label(fz_calloc(ctx, 1, size), "fz_page"); page->refs = 1; |