mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-03-20 15:51:07 +01:00
cpuinfo: Rename SDL_GetCPUCount to SDL_GetNumLogicalCPUCores
This was the only API that broke the "GetNumThings" convention used elsewhere, so renaming it helps with consistency. Adding "logical cores" to the name also makes it a bit more immediately obvious what the count actually represents.
This commit is contained in:
committed by
Sam Lantinga
parent
93bf534268
commit
1f3fd65c4c
@@ -341,6 +341,7 @@ SDL_HasRDTSC() has been removed; there is no replacement. Don't use the RDTSC op
|
||||
SDL_SIMDAlloc(), SDL_SIMDRealloc(), and SDL_SIMDFree() have been removed. You can use SDL_aligned_alloc() and SDL_aligned_free() with SDL_GetSIMDAlignment() to get the same functionality.
|
||||
|
||||
The following functions have been renamed:
|
||||
* SDL_GetCPUCount() => SDL_GetNumLogicalCPUCores()
|
||||
* SDL_SIMDGetAlignment() => SDL_GetSIMDAlignment()
|
||||
|
||||
## SDL_endian.h
|
||||
|
||||
Reference in New Issue
Block a user