mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-26 12:27:44 +00: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
@@ -3667,3 +3667,8 @@ identifier func =~ "^(SDL_AddEventWatch|SDL_AddHintCallback|SDL_AddSurfaceAltern
|
||||
@@
|
||||
- SDL_NUM_SCANCODES
|
||||
+ SDL_SCANCODE_COUNT
|
||||
@@
|
||||
@@
|
||||
- SDL_GetCPUCount
|
||||
+ SDL_GetNumLogicalCPUCores
|
||||
(...)
|
||||
|
||||
Reference in New Issue
Block a user