diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2018-11-12 14:37:36 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2018-11-12 17:55:54 +0100 |
commit | 984ae2a4484c8cf4177349efdfe3aeaa469ba152 (patch) | |
tree | 008249920515761b6831d8f4ccb12d4c59212c98 /include | |
parent | e51354df45832a138dca9216408b3aea03030f49 (diff) | |
download | mupdf-984ae2a4484c8cf4177349efdfe3aeaa469ba152.tar.xz |
Clean up pdf-portfolio.c
Remove pointless paranoia checks.
Move the check whether it has already been loaded into load_portfolio().
Diffstat (limited to 'include')
-rw-r--r-- | include/mupdf/pdf/document.h | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/include/mupdf/pdf/document.h b/include/mupdf/pdf/document.h index 3a11787b..fb62c739 100644 --- a/include/mupdf/pdf/document.h +++ b/include/mupdf/pdf/document.h @@ -393,40 +393,6 @@ int pdf_count_portfolio_entries(fz_context *ctx, pdf_document *doc); fz_buffer *pdf_portfolio_entry(fz_context *ctx, pdf_document *doc, int entry); /* - pdf_portfolio_entry_obj_name: Retrieve the object and - name of a given portfolio entry. - - doc: The document in question. - - entry: A value in the 0..m-1 range, where m is the - value returned from pdf_count_portfolio_entries. - - name: Pointer to a place to store the pointer to the - object representing the name. This is a borrowed - reference - do not drop it. - - Returns a pointer to the pdf_object representing the - object. This is a borrowed reference - do not drop - it. -*/ -pdf_obj *pdf_portfolio_entry_obj_name(fz_context *ctx, pdf_document *doc, int entry, pdf_obj **name); - -/* - pdf_portfolio_entry_obj: Retrieve the object - representing a given portfolio entry. - - doc: The document in question. - - entry: A value in the 0..m-1 range, where m is the - value returned from pdf_count_portfolio_entries. - - Returns a pointer to the pdf_object representing the - object. This is a borrowed reference - do not drop - it. -*/ -pdf_obj *pdf_portfolio_entry_obj(fz_context *ctx, pdf_document *doc, int entry); - -/* pdf_portfolio_entry_name: Retrieve the name of a given portfolio entry. |