Renamed SDL_SizeIO() SDL_GetIOSize()

This commit is contained in:
Sam Lantinga
2024-03-17 17:13:39 -07:00
committed by Ryan C. Gordon
parent df0f5deddf
commit a1a0156756
9 changed files with 13 additions and 13 deletions

View File

@@ -346,7 +346,7 @@ static int iostrm_testDynamicMem(void *arg)
mem = (char *)SDL_GetProperty(props, SDL_PROP_IOSTREAM_DYNAMIC_MEMORY_POINTER, NULL);
SDLTest_AssertPass("Call to SDL_GetProperty(props, SDL_PROP_IOSTREAM_DYNAMIC_MEMORY_POINTER, NULL) succeeded");
SDLTest_AssertCheck(mem != NULL, "Verify memory value is not NULL");
mem[SDL_SizeIO(rw)] = '\0';
mem[SDL_GetIOSize(rw)] = '\0';
SDLTest_AssertCheck(SDL_strcmp(mem, IOStreamHelloWorldTestString) == 0, "Verify memory value is correct");
/* Take the memory and free it ourselves */