diff options
author | Robin Watts <Robin.Watts@artifex.com> | 2011-10-04 20:10:13 +0100 |
---|---|---|
committer | Robin Watts <Robin.Watts@artifex.com> | 2011-10-04 20:10:13 +0100 |
commit | 0a31674b1e78930e86d4d7408082f564bc550cf7 (patch) | |
tree | eb570a3a79d3d4c51c1152a253dd35cf82e026ee /ios/document.h | |
parent | 1cc3bf432a6d94e6f8411b55ee0f591d098f2062 (diff) | |
download | mupdf-0a31674b1e78930e86d4d7408082f564bc550cf7.tar.xz |
Establish 'break scope' within fz_try macro
It is vital that no one returns from within fz_try. As such it's often
necessary to jump out of an fz_try. This can mean using a label at the
end of the fz_try section to goto.
By introducing a "do { } while (0)" around the contents of the fz_try
we allow people to 'break' (or 'continue') to get out neatly.
Diffstat (limited to 'ios/document.h')
0 files changed, 0 insertions, 0 deletions