mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-29 14:38:29 +00:00
Add POINTER suffix to SDL_PROP_IOSTREAM_MEMORY_FREE_FUNC
This commit is contained in:
@@ -342,7 +342,7 @@ static int SDLCALL iostrm_testMemWithFree(void *arg)
|
||||
|
||||
/* Set the free function */
|
||||
free_call_count = 0;
|
||||
result = SDL_SetPointerProperty(SDL_GetIOProperties(rw), SDL_PROP_IOSTREAM_MEMORY_FREE_FUNC, test_free);
|
||||
result = SDL_SetPointerProperty(SDL_GetIOProperties(rw), SDL_PROP_IOSTREAM_MEMORY_FREE_FUNC_POINTER, test_free);
|
||||
SDLTest_AssertPass("Call to SDL_SetPointerProperty() succeeded");
|
||||
SDLTest_AssertCheck(result == true, "Verify result value is true; got %d", result);
|
||||
|
||||
|
Reference in New Issue
Block a user