diff options
author | m-holger <m-holger@kubitscheck.org> | 2023-05-27 19:19:52 +0200 |
---|---|---|
committer | m-holger <m-holger@kubitscheck.org> | 2023-06-02 17:00:40 +0200 |
commit | 3c5700c255f4603b5df9c6d183d13dd71a083cc3 (patch) | |
tree | 0f01c62c54b56d009b341922fa3441907a2e560b /examples/qpdfjob-c.c | |
parent | 6e6a73d28f5f61f038209a61a3e85995dc71aa32 (diff) | |
download | qpdf-3c5700c255f4603b5df9c6d183d13dd71a083cc3.tar.zst |
Code tidy - reflow comments and strings
Diffstat (limited to 'examples/qpdfjob-c.c')
-rw-r--r-- | examples/qpdfjob-c.c | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/examples/qpdfjob-c.c b/examples/qpdfjob-c.c index 452e689b..62528392 100644 --- a/examples/qpdfjob-c.c +++ b/examples/qpdfjob-c.c @@ -1,7 +1,4 @@ -/* - * This is an example program to linearize a PDF file using the C - * QPDFJob API. - */ +/* This is an example program to linearize a PDF file using the C QPDFJob API. */ #include <qpdf/qpdfjob-c.h> #include <stdio.h> @@ -48,14 +45,12 @@ main(int argc, char* argv[]) new_argv[4] = "--static-id"; /* for testing only */ new_argv[5] = NULL; - /* See qpdf-job.cc for a C++ example of using the json interface. - * To use that from C just like the argv one, call - * qpdfjob_run_from_json instead and pass the json string as a - * single char const* argument. + /* See qpdf-job.cc for a C++ example of using the json interface. To use that from C just like + * the argv one, call qpdfjob_run_from_json instead and pass the json string as a single char + * const* argument. * - * See qpdfjob-c-save-attachment.c for an example of using the - * full form of the qpdfjob interface with init and cleanup - * functions. + * See qpdfjob-c-save-attachment.c for an example of using the full form of the qpdfjob + * interface with init and cleanup functions. */ r = qpdfjob_run_from_argv(new_argv); return r; |