mirror of
https://github.com/qpdf/qpdf.git
synced 2025-01-31 10:58:25 +00:00
Code formatting updates
This commit is contained in:
parent
3630a8c597
commit
5489f1d8d6
@ -4,7 +4,7 @@
|
||||
#include <stdint.h>
|
||||
|
||||
#define try_convert(exp_pass, fn, i) \
|
||||
try_convert_real(#fn "(" #i ")", exp_pass, fn, i)
|
||||
try_convert_real(#fn "(" #i ")", exp_pass, fn, i)
|
||||
|
||||
template <typename From, typename To>
|
||||
static void
|
||||
@ -27,7 +27,7 @@ try_convert_real(
|
||||
}
|
||||
|
||||
#define try_range_check(exp_pass, a, b) \
|
||||
try_range_check_real(#a " + " #b, exp_pass, a, b)
|
||||
try_range_check_real(#a " + " #b, exp_pass, a, b)
|
||||
|
||||
template <typename T>
|
||||
static void
|
||||
@ -47,7 +47,7 @@ try_range_check_real(
|
||||
}
|
||||
|
||||
#define try_range_check_subtract(exp_pass, a, b) \
|
||||
try_range_check_subtract_real(#a " - " #b, exp_pass, a, b)
|
||||
try_range_check_subtract_real(#a " - " #b, exp_pass, a, b)
|
||||
|
||||
template <typename T>
|
||||
static void
|
||||
|
@ -194,7 +194,7 @@ print_rect(std::ostream& out, QPDFObjectHandle::Rectangle const& r)
|
||||
}
|
||||
|
||||
#define assert_compare_numbers(expected, expr) \
|
||||
compare_numbers(#expr, expected, expr)
|
||||
compare_numbers(#expr, expected, expr)
|
||||
|
||||
template <typename T1, typename T2>
|
||||
static void
|
||||
|
Loading…
x
Reference in New Issue
Block a user