From 4665055e0f665e73bc420d4ed3c9c40f9493d436 Mon Sep 17 00:00:00 2001 From: Zane van Iperen Date: Sat, 28 Sep 2024 02:01:52 +0900 Subject: [PATCH] examples/devpmtest: cosmetics --- examples/devpmtest/main.c | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/examples/devpmtest/main.c b/examples/devpmtest/main.c index d7068358..058df4af 100644 --- a/examples/devpmtest/main.c +++ b/examples/devpmtest/main.c @@ -910,16 +910,24 @@ typedef struct br_drawtest { br_boolean _failed; } br_drawtest; -#define MAKE_SMPTE_TEST(filename, type, suffix) \ - { \ - .name = "SMPTE (" BR_STR(type) suffix ")", .init = smpte_init, .draw = smpte_draw, .fini = smpte_fini, \ - .arg = filename, .user_size = sizeof(br_smpte_state), \ +#define MAKE_SMPTE_TEST(filename, type, suffix) \ + { \ + .name = "SMPTE (" BR_STR(type) suffix ")", \ + .init = smpte_init, \ + .draw = smpte_draw, \ + .fini = smpte_fini, \ + .arg = filename, \ + .user_size = sizeof(br_smpte_state), \ } -#define MAKE_XBPP_TEST(filename, type, suffix) \ - { \ - .name = "XBPP (" BR_STR(type) suffix ")", .init = xbpp_init, .draw = xbpp_draw, .fini = xbpp_fini, \ - .arg = filename, .user_size = sizeof(xbpp_state), \ +#define MAKE_XBPP_TEST(filename, type, suffix) \ + { \ + .name = "XBPP (" BR_STR(type) suffix ")", \ + .init = xbpp_init, \ + .draw = xbpp_draw, \ + .fini = xbpp_fini, \ + .arg = filename, \ + .user_size = sizeof(xbpp_state), \ } // clang-format off