Removed unnecessary const-qualifiers in src and test files

This commit is contained in:
Petar Popovic
2024-10-03 20:19:18 +02:00
committed by Ryan C. Gordon
parent b8e8dcaa9a
commit 020fb6889c
13 changed files with 16 additions and 16 deletions

View File

@@ -79,7 +79,7 @@ char *SDL_UCS4ToUTF8(Uint32 codepoint, char *dst)
// this expects `from` and `to` to be UTF-32 encoding!
int SDL_CaseFoldUnicode(const Uint32 from, Uint32 *to)
int SDL_CaseFoldUnicode(Uint32 from, Uint32 *to)
{
// !!! FIXME: since the hashtable is static, maybe we should binary
// !!! FIXME: search it instead of walking the whole bucket.

View File

@@ -26,7 +26,7 @@
// just a few special pieces right now.
// this expects `from` to be a Unicode codepoint, and `to` to point to AT LEAST THREE Uint32s.
int SDL_CaseFoldUnicode(const Uint32 from, Uint32 *to);
int SDL_CaseFoldUnicode(Uint32 from, Uint32 *to);
#endif