Renamed SDL_ThreadID() to SDL_GetCurrentThreadID()

Also renamed SDL_threadID to SDL_ThreadID and made it Uint64 for consistency with other ID types
This commit is contained in:
Sam Lantinga
2024-01-18 04:57:12 -08:00
parent d6a41f8f31
commit fc0c774976
32 changed files with 100 additions and 83 deletions

View File

@@ -98,9 +98,9 @@ void SDL_SYS_SetupThread(const char *name)
/* Do nothing. */
}
SDL_threadID SDL_ThreadID(void)
SDL_ThreadID SDL_GetCurrentThreadID(void)
{
return (SDL_threadID)GetThreadId();
return (SDL_ThreadID)GetThreadId();
}
void SDL_SYS_WaitThread(SDL_Thread *thread)