aboutsummaryrefslogtreecommitdiffstats
path: root/examples/qpdfjob-c.c
diff options
context:
space:
mode:
authorJay Berkenbilt <jberkenbilt@users.noreply.github.com>2023-06-17 15:26:16 +0200
committerGitHub <noreply@github.com>2023-06-17 15:26:16 +0200
commit44dce4e2988ec09e36dfb6d1fc527a143e6f597f (patch)
tree3cdb1999faeb5103eb87c36fb1673d8cbb5ab082 /examples/qpdfjob-c.c
parentfc30e75122f6bef20ac8d676ac7cb8822feecf3e (diff)
parentacd0acf16931ce92bc908e4960c5a1e43d53b550 (diff)
downloadqpdf-44dce4e2988ec09e36dfb6d1fc527a143e6f597f.tar.zst
Merge pull request #978 from m-holger/reflow
Code tidy - reflow comments and strings
Diffstat (limited to 'examples/qpdfjob-c.c')
-rw-r--r--examples/qpdfjob-c.c17
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;