diff options
-rw-r--r-- | include/mupdf/pdf/object.h | 1 | ||||
-rw-r--r-- | source/pdf/pdf-imp.h | 6 | ||||
-rw-r--r-- | source/pdf/pdf-write.c | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/include/mupdf/pdf/object.h b/include/mupdf/pdf/object.h index 2a98ac95..0ac40439 100644 --- a/include/mupdf/pdf/object.h +++ b/include/mupdf/pdf/object.h @@ -101,7 +101,6 @@ int pdf_array_contains(fz_context *ctx, pdf_obj *array, pdf_obj *obj); int pdf_dict_len(fz_context *ctx, pdf_obj *dict); pdf_obj *pdf_dict_get_key(fz_context *ctx, pdf_obj *dict, int idx); pdf_obj *pdf_dict_get_val(fz_context *ctx, pdf_obj *dict, int idx); -void pdf_dict_put_val_null(fz_context *ctx, pdf_obj *obj, int idx); pdf_obj *pdf_dict_get(fz_context *ctx, pdf_obj *dict, pdf_obj *key); pdf_obj *pdf_dict_getp(fz_context *ctx, pdf_obj *dict, const char *path); pdf_obj *pdf_dict_getl(fz_context *ctx, pdf_obj *dict, ...); diff --git a/source/pdf/pdf-imp.h b/source/pdf/pdf-imp.h index 6dd3571d..0e3c459e 100644 --- a/source/pdf/pdf-imp.h +++ b/source/pdf/pdf-imp.h @@ -3,6 +3,12 @@ #include "mupdf/pdf.h" +/* Private object functions. */ + +void pdf_dict_put_val_null(fz_context *ctx, pdf_obj *obj, int idx); + +/* Private OCG functions. */ + void pdf_read_ocg(fz_context *ctx, pdf_document *doc); void pdf_drop_ocg(fz_context *ctx, pdf_document *doc); diff --git a/source/pdf/pdf-write.c b/source/pdf/pdf-write.c index ae2f4122..b392bac5 100644 --- a/source/pdf/pdf-write.c +++ b/source/pdf/pdf-write.c @@ -1,4 +1,4 @@ -#include "mupdf/pdf.h" +#include "pdf-imp.h" #include <zlib.h> |