diff options
author | Jay Berkenbilt <ejb@ql.org> | 2022-06-18 20:16:56 +0200 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2022-06-19 14:46:58 +0200 |
commit | 8e361d98f0bb23d58cbc773367ba76dffced7bdb (patch) | |
tree | c3c0aebbe88f51aa43c3eb8a586f8b795b8b5a45 /examples/qpdfjob-c.c | |
parent | 8130d50e3b5aa0235a133c3c5a3018ac01afb5e1 (diff) | |
download | qpdf-8e361d98f0bb23d58cbc773367ba76dffced7bdb.tar.zst |
Add examples for output capture (fixes #691)
Diffstat (limited to 'examples/qpdfjob-c.c')
-rw-r--r-- | examples/qpdfjob-c.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/examples/qpdfjob-c.c b/examples/qpdfjob-c.c index ee2ef4ab..452e689b 100644 --- a/examples/qpdfjob-c.c +++ b/examples/qpdfjob-c.c @@ -52,6 +52,10 @@ main(int argc, char* argv[]) * 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. */ r = qpdfjob_run_from_argv(new_argv); return r; |