diff options
author | Robin Watts <robin.watts@artifex.com> | 2015-04-02 17:04:08 +0100 |
---|---|---|
committer | Robin Watts <robin.watts@artifex.com> | 2015-04-06 19:30:55 +0100 |
commit | b4d256b9e9d2e9f3b5f3ca944f591ae6bb0c5d71 (patch) | |
tree | 8d82fc82c7586634b14518704def1e5011249ca9 /platform/win32/mutool.vcproj | |
parent | 95d746f13a86d914dd88310c994b27b08db4bb5b (diff) | |
download | mupdf-b4d256b9e9d2e9f3b5f3ca944f591ae6bb0c5d71.tar.xz |
Move the guts of pdfclean into the lib.
Michael needs to be able to call pdfclean from gsview. At the moment
he's having to do this by including the pdfclean.c file into the lib
build, and then calling pdfclean_main with a faked up command line.
This isn't nice.
pdfclean.c is implemented by pdfclean_main parsing the options/filenames
out of argv and then passing the filenames/options on to a
pdfclean_clean function.
This seems like a much nicer API to offer to the world.
We therefore pull the guts of pdfclean.c (pdfclean_clean and its
subsidiary structures/functions) into pdf-clean-file.c and include
this in the library build.
This leaves pdfclean.c just as the command line parsing.
This should not affect the size of any of the resulting binaries.
Diffstat (limited to 'platform/win32/mutool.vcproj')
0 files changed, 0 insertions, 0 deletions