From 1e2e4791ad9327a6d717d322da0331471914884f Mon Sep 17 00:00:00 2001 From: Mitya Selivanov <0x7fffff@guattari.ru> Date: Sun, 7 Aug 2022 01:59:03 +0400 Subject: test --- source/kit_test/test.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/source/kit_test/test.h b/source/kit_test/test.h index bf1bf15..52a7b99 100644 --- a/source/kit_test/test.h +++ b/source/kit_test/test.h @@ -51,11 +51,12 @@ extern struct kit_tests_list kit_tests_list; # endif # pragma section(".CRT$XCU", read) -# define KIT_TEST_ON_START_2_(f, p) \ - KIT_EXTERN_C_ static void f(void); \ - __declspec(allocate(".CRT$XCU")) void (*f##_)(void) = f; \ - __pragma(comment(linker, "/include:" p #f "_")) static void f( \ - void) +# define KIT_TEST_ON_START_2_(f, p) \ + KIT_EXTERN_C_ static void f(void); \ + __declspec(allocate(".CRT$XCU")) void (*f##_)(void) = f; \ + __pragma(comment(linker, "/include:" p #f "_")) \ + KIT_EXTERN_C_ static void \ + f(void) # ifdef _WIN64 # define KIT_TEST_ON_START_(f) KIT_TEST_ON_START_2_(f, "") # else -- cgit v1.2.3