summaryrefslogtreecommitdiff
path: root/source/pdf/pdf-object.c
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2014-03-13 16:27:42 +0000
committerRobin Watts <robin.watts@artifex.com>2014-03-13 18:48:45 +0000
commitd72f487da02c40b4872184ce4f791f1bd5ce760b (patch)
tree45f5b5b1adfc5181ec32b1f33afa0259bea03188 /source/pdf/pdf-object.c
parent604b0ca88e1b0275d5a8021d1a90700649142b4a (diff)
downloadmupdf-d72f487da02c40b4872184ce4f791f1bd5ce760b.tar.xz
Tweak pdfclean and pdfinfo to be useful as libraries.
Firstly, we remove the use of global variables; this is done by introducing a 'globals' structure for each of these files and passing it internally between functions. Next, split the core of pdfclean_main into pdfclean_clean, and the core of pdfinfo_main into pdfinfo_info. The _main functions now do the argv processing. The new functions now run entirely thread safely, so can be called from library functions.
Diffstat (limited to 'source/pdf/pdf-object.c')
0 files changed, 0 insertions, 0 deletions