From 93695a585b63d10e63d294b6418f2e0df8b603e6 Mon Sep 17 00:00:00 2001 From: Ivan Kuchin Date: Sun, 28 Apr 2024 14:24:35 +0200 Subject: [PATCH] clang-format --- blueutil.m | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/blueutil.m b/blueutil.m index 8dd495c..75763fe 100644 --- a/blueutil.m +++ b/blueutil.m @@ -584,8 +584,10 @@ - (void)devicePairingUserPasskeyNotification:(id)sender passkey:(BluetoothPasske } @end -#define OP_FUNC(name, operator) \ - bool op_##name(const long a, const long b) { return a operator b; } +#define OP_FUNC(name, operator) \ + bool op_##name(const long a, const long b) { \ + return a operator b; \ + } OP_FUNC(gt, >); OP_FUNC(ge, >=); @@ -850,9 +852,11 @@ int main(int argc, char *argv[]) { [inquirer start]; // inquiry length seems to be ingored starting with Monterey - dispatch_after(dispatch_time(DISPATCH_TIME_NOW, args->duration * NSEC_PER_SEC), dispatch_get_main_queue(), ^{ - [inquirer stop]; - }); + dispatch_after(dispatch_time(DISPATCH_TIME_NOW, args->duration * NSEC_PER_SEC), + dispatch_get_main_queue(), + ^{ + [inquirer stop]; + }); CFRunLoopRun();