summaryrefslogtreecommitdiff
path: root/source/pdf/js/pdf-js-none.c
diff options
context:
space:
mode:
authorTor Andersson <tor.andersson@artifex.com>2016-06-01 16:06:07 +0200
committerTor Andersson <tor.andersson@artifex.com>2016-06-06 14:53:23 +0200
commitcc1fd2ff2a440a7fdb2a30ef66aba31043c4ba92 (patch)
tree52dc8114ef259825dad3d2c7cc929aa71fcc6c16 /source/pdf/js/pdf-js-none.c
parentae64e55878766478f536a0b2158e0a29f5cf00ed (diff)
downloadmupdf-cc1fd2ff2a440a7fdb2a30ef66aba31043c4ba92.tar.xz
Add FZ_ENABLE_JS configuration define.
Diffstat (limited to 'source/pdf/js/pdf-js-none.c')
-rw-r--r--source/pdf/js/pdf-js-none.c31
1 files changed, 0 insertions, 31 deletions
diff --git a/source/pdf/js/pdf-js-none.c b/source/pdf/js/pdf-js-none.c
deleted file mode 100644
index 7cce12be..00000000
--- a/source/pdf/js/pdf-js-none.c
+++ /dev/null
@@ -1,31 +0,0 @@
-#include "mupdf/pdf.h"
-
-void pdf_enable_js(fz_context *ctx, pdf_document *doc)
-{
-}
-
-void pdf_disable_js(fz_context *ctx, pdf_document *doc)
-{
-}
-
-int pdf_js_supported(fz_context *ctx, pdf_document *doc)
-{
- return 0;
-}
-
-void pdf_js_setup_event(pdf_js *js, pdf_js_event *e)
-{
-}
-
-pdf_js_event *pdf_js_get_event(pdf_js *js)
-{
- return NULL;
-}
-
-void pdf_js_execute(pdf_js *js, char *code)
-{
-}
-
-void pdf_js_execute_count(pdf_js *js, char *code, int count)
-{
-}