summaryrefslogtreecommitdiff
path: root/source/kit_test
diff options
context:
space:
mode:
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];