Rename SDL_Swap(16|32|64)(LE|BE) to SDL_Swap(LE|BE)(16|32|64)

This commit is contained in:
Anonymous Maarten authored and Anonymous Maarten committed 2024-06-12 02:29:39 +02:00
1 parent ef6123886e
commit 32907a9606
18 files changed
+172 -116

No files matched your search

+1 -1
View File
@@ -1851,7 +1851,7 @@ static const GuessTest guess_tests[] =
* an appropriate byteswapping function for the architecture's word size. */
SDL_COMPILE_TIME_ASSERT(sizeof_long, sizeof(unsigned long) == 4 || sizeof(unsigned long) == 8);
#define SwapLongLE(X) \
((sizeof(unsigned long) == 4) ? SDL_SwapLE32(X) : SDL_SwapLE64(X))
((sizeof(unsigned long) == 4) ? SDL_Swap32LE(X) : SDL_Swap64LE(X))
static int
run_test(void)