diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2016-02-24 15:54:37 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2016-02-29 15:52:53 +0100 |
commit | 727dbaa8a7d987325688703db0d50895df4b097f (patch) | |
tree | 6f40d85e24ddbdc8245a92a220a152c944dbaf92 /source/pdf/pdf-xref.c | |
parent | c2398cf7940e2533eb3158e93f271f471a4b369c (diff) | |
download | mupdf-727dbaa8a7d987325688703db0d50895df4b097f.tar.xz |
Rename some functions.
Remove void* typecasts.
Diffstat (limited to 'source/pdf/pdf-xref.c')
-rw-r--r-- | source/pdf/pdf-xref.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/pdf/pdf-xref.c b/source/pdf/pdf-xref.c index 32b1d6a2..02e68530 100644 --- a/source/pdf/pdf-xref.c +++ b/source/pdf/pdf-xref.c @@ -1626,7 +1626,7 @@ pdf_close_document(fz_context *ctx, pdf_document *doc) pdf_lexbuf_fin(ctx, &doc->lexbuf.base); - pdf_resource_table_free(ctx, doc); + pdf_drop_resource_tables(ctx, doc); fz_free(ctx, doc); } @@ -2746,7 +2746,7 @@ pdf_document *pdf_create_document(fz_context *ctx) doc->num_incremental_sections = 0; doc->xref_base = 0; doc->disallow_new_increments = 0; - pdf_resource_table_init(ctx, doc); + pdf_init_resource_tables(ctx, doc); pdf_get_populating_xref_entry(ctx, doc, 0); trailer = pdf_new_dict(ctx, doc, 2); pdf_dict_put_drop(ctx, trailer, PDF_NAME_Size, pdf_new_int(ctx, doc, 3)); |