SDL_test: pass data pointer to unit tests

This commit is contained in:
Anonymous Maarten authored and Anonymous Maarten committed 2024-09-06 03:06:40 +02:00
1 parent 741c04b339
commit 2f4b2df595
9 files changed
+12 -11

No files matched your search

+1 -1
View File
@@ -63,7 +63,7 @@ extern "C" {
#define TEST_RESULT_SETUP_FAILURE 4
/* !< Function pointer to a test case setup function (run before every test) */
typedef void (*SDLTest_TestCaseSetUpFp)(void *arg);
typedef void (*SDLTest_TestCaseSetUpFp)(void **arg);
/* !< Function pointer to a test case function */
typedef int (*SDLTest_TestCaseFp)(void *arg);