Renamed SDL_SizeIO() SDL_GetIOSize()

This commit is contained in:
Sam Lantinga authored and Ryan C. Gordon committed 2024-03-18 00:27:18 -04:00
1 parent df0f5deddf
commit a1a0156756
9 files changed
+13 -13

No files matched your search

+1 -1
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 */