SDL_test: pass data pointer to unit tests

This commit is contained in:
Anonymous Maarten 2024-09-01 17:51:04 +02:00 committed by Anonymous Maarten
parent 741c04b339
commit 2f4b2df595
9 changed files with 12 additions and 11 deletions

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);