summaryrefslogtreecommitdiff
path: root/source/fitz/document.c
diff options
context:
space:
mode:
authorRobin Watts <Robin.Watts@artifex.com>2017-03-21 15:53:01 -0400
committerRobin Watts <Robin.Watts@artifex.com>2017-03-22 18:29:42 -0400
commit546e1fce1b1556f56860a46f326094b997a3237c (patch)
tree1bdf70ae60a0a84daa1a6e37e3cc04d612e38b49 /source/fitz/document.c
parentad65190db33e7024b71cd21a6ea1483940f0bf92 (diff)
downloadmupdf-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/document.c')
-rw-r--r--source/fitz/document.c4
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;