diff options
author | Mitya Selivanov <0x7fffff@guattari.ru> | 2022-08-08 03:30:43 +0400 |
---|---|---|
committer | Mitya Selivanov <0x7fffff@guattari.ru> | 2022-08-08 03:30:43 +0400 |
commit | 47f271b51f6855ee531a06a1e582e78a66a763b0 (patch) | |
tree | 68b4581285100fd5b369826d03ecdbd0e9cd85e9 /source/kit_test | |
parent | f8831550861f6c2e5e93d68d098d9945b19cf14c (diff) | |
download | kit-47f271b51f6855ee531a06a1e582e78a66a763b0.zip |
Refactor
Diffstat (limited to 'source/kit_test')
-rw-r--r-- | source/kit_test/test.h | 7 |
1 files changed, 4 insertions, 3 deletions
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]; |