summaryrefslogtreecommitdiff
path: root/source/pdf
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2015-02-21 00:08:46 +0100
committerTor Andersson <tor.andersson@artifex.com>2015-02-23 13:55:29 +0100
commit241f8b6c35895b932ac7f27de1ee76416cae419a (patch)
tree0bf11d2b8e90e816b2c1242c03f4890a7b5d5f87 /source/pdf
parent74c2a25b7a6a11c087baf4626f47cd2f3fbf2103 (diff)
downloadmupdf-241f8b6c35895b932ac7f27de1ee76416cae419a.tar.xz
Update pdf-js-none for context passing changes.
Diffstat (limited to 'source/pdf')
-rw-r--r--source/pdf/js/pdf-js-none.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/pdf/js/pdf-js-none.c b/source/pdf/js/pdf-js-none.c
index 37597b53..7cce12be 100644
--- a/source/pdf/js/pdf-js-none.c
+++ b/source/pdf/js/pdf-js-none.c
@@ -1,14 +1,14 @@
#include "mupdf/pdf.h"
-void pdf_enable_js(pdf_document *doc)
+void pdf_enable_js(fz_context *ctx, pdf_document *doc)
{
}
-void pdf_disable_js(pdf_document *doc)
+void pdf_disable_js(fz_context *ctx, pdf_document *doc)
{
}
-int pdf_js_supported(pdf_document *doc)
+int pdf_js_supported(fz_context *ctx, pdf_document *doc)
{
return 0;
}