From 47f271b51f6855ee531a06a1e582e78a66a763b0 Mon Sep 17 00:00:00 2001 From: Mitya Selivanov <0x7fffff@guattari.ru> Date: Mon, 8 Aug 2022 03:30:43 +0400 Subject: Refactor --- source/kit_test/test.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'source/kit_test/test.h') diff --git a/source/kit_test/test.h b/source/kit_test/test.h index 4dc7aac..9c2fea9 100644 --- a/source/kit_test/test.h +++ b/source/kit_test/test.h @@ -24,9 +24,10 @@ extern "C" { # define KIT_TEST_STRING_SIZE 0x100 #endif -typedef void (*kit_test_report_fn)(int, char const *file, int line, - int ok); -typedef void (*kit_test_run_fn)(int, kit_test_report_fn); +typedef void (*kit_test_report_fn)(int test_index, char const *file, + int line, int ok); +typedef void (*kit_test_run_fn)( + int kit_test_index_, kit_test_report_fn kit_test_report_fn_); typedef struct { char test_name[KIT_TEST_STRING_SIZE]; -- cgit v1.2.3