summaryrefslogtreecommitdiff
path: root/source/kit_test
diff options
context:
space:
mode:
authorMitya Selivanov <0x7fffff@guattari.ru>2022-08-08 03:30:43 +0400
committerMitya Selivanov <0x7fffff@guattari.ru>2022-08-08 03:30:43 +0400
commit47f271b51f6855ee531a06a1e582e78a66a763b0 (patch)
tree68b4581285100fd5b369826d03ecdbd0e9cd85e9 /source/kit_test
parentf8831550861f6c2e5e93d68d098d9945b19cf14c (diff)
downloadkit-47f271b51f6855ee531a06a1e582e78a66a763b0.zip
Refactor
Diffstat (limited to 'source/kit_test')
-rw-r--r--source/kit_test/test.h7
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];