diff options
author | Tor Andersson <tor.andersson@artifex.com> | 2016-01-06 14:02:33 +0100 |
---|---|---|
committer | Tor Andersson <tor.andersson@artifex.com> | 2016-01-06 14:02:33 +0100 |
commit | 46235ec8cfad7f4b601a19ac7874727bfac8a84b (patch) | |
tree | 613fcd5573b341f6d1e186c381bfb308b7aeea97 /source/pdf/js/pdf-js-none.c | |
parent | a135e87d96bcf33c27f633f0ecfc5d158a4e0571 (diff) | |
download | mupdf-46235ec8cfad7f4b601a19ac7874727bfac8a84b.tar.xz |
js: Fix error handling bugs and one scoping bug.
js_pcall was leaving crap on the stack in case of errors.
AFSimple_Calculate needs access to the doc object, but cannot use the
usual 'this' binding since it's a function. Add a global reference to
the doc object MuPDF_Doc.
Diffstat (limited to 'source/pdf/js/pdf-js-none.c')
0 files changed, 0 insertions, 0 deletions