mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-06 06:34:35 +00:00
Add POINTER suffix to SDL_PROP_IOSTREAM_MEMORY_FREE_FUNC
This commit is contained in:
parent
4a30ee58ca
commit
08fd165dd2
3 changed files with 5 additions and 5 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue