diff options
author | Paul Gardiner <paulg.artifex@glidos.net> | 2012-09-06 15:15:22 +0100 |
---|---|---|
committer | Paul Gardiner <paulg.artifex@glidos.net> | 2012-09-18 14:59:49 +0100 |
commit | c06c3f6183eb6e7955749c060abe99e0b91ea1f7 (patch) | |
tree | 841d7fb48faa77628fb1d4dfe79e3830136d3bff /pdf/pdf_js_none.c | |
parent | 33bfa9165dacaabd008144aa96a61612fea97c6b (diff) | |
download | mupdf-c06c3f6183eb6e7955749c060abe99e0b91ea1f7.tar.xz |
Forms: improve cpp/c interface regarding exceptions
Three alterations:
We were previously being careful to avoid throwing exceptions in
the DOM-implementation callbacks because these were being called
directly from C++. This commit adds three veneers that turn exceptions
into warnings, hence allowing the callbacks to be written in usual
mupdf style.
Protect the "field" callbacks from executing with a NULL field.
Ensure that the event object is set up before executing A actions
Diffstat (limited to 'pdf/pdf_js_none.c')
0 files changed, 0 insertions, 0 deletions