diff options
author | Robin Watts <robin.watts@artifex.com> | 2012-01-13 19:31:14 +0000 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2012-01-13 20:13:09 +0000 |
commit | e5213366409d28029cfa137f2c19d6ab4a828c4a (patch) | |
tree | 943a09dbf0c30770a638b0c3634a2ccc53f0c009 /android/src | |
parent | b0dd445c76ec8d36648c9f8c9c10b738e963908e (diff) | |
download | mupdf-e5213366409d28029cfa137f2c19d6ab4a828c4a.tar.xz |
Rework pdf_resolve_indirect to make it idempotent.
pdf_resolve_indirect(x) = pdf_resolve_indirect(pdf_resolve_indirect(x))
now - as long as it doesn't throw an exception.
Update the rest of the code to minimise unnecessary function calls.
Previously, we were calling one function to find out if an object was
a dict, only for that to call a function to see if it needed to
resolve the object, then calling another function to actually get the
dict, only to have that call the function to check for the dict
needing resolving again!
Diffstat (limited to 'android/src')
0 files changed, 0 insertions, 0 deletions