From 6c4537885e89f69b9368251759f75127e6dcc4d6 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sat, 25 Jun 2022 08:29:07 -0400 Subject: Reformat code --- libqpdf/qpdfjob-c.cc | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'libqpdf/qpdfjob-c.cc') diff --git a/libqpdf/qpdfjob-c.cc b/libqpdf/qpdfjob-c.cc index 4f7bd92c..9367547c 100644 --- a/libqpdf/qpdfjob-c.cc +++ b/libqpdf/qpdfjob-c.cc @@ -85,7 +85,8 @@ qpdfjob_run(qpdfjob_handle j) }); } -static int run_with_handle(std::function fn) +static int +run_with_handle(std::function fn) { auto j = qpdfjob_init(); int status = fn(j); @@ -96,7 +97,8 @@ static int run_with_handle(std::function fn) return status; } -int qpdfjob_run_from_argv(char const* const argv[]) +int +qpdfjob_run_from_argv(char const* const argv[]) { return run_with_handle([argv](qpdfjob_handle j) { return qpdfjob_initialize_from_argv(j, argv); @@ -113,7 +115,8 @@ qpdfjob_run_from_wide_argv(wchar_t const* const argv[]) } #endif /* QPDF_NO_WCHAR_T */ -int qpdfjob_run_from_json(char const* json) +int +qpdfjob_run_from_json(char const* json) { return run_with_handle([json](qpdfjob_handle j) { return qpdfjob_initialize_from_json(j, json); -- cgit v1.2.3-70-g09d2