mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-25 05:59:11 +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:
parent
93bf534268
commit
1f3fd65c4c
11 changed files with 32 additions and 24 deletions
|
@ -264,7 +264,7 @@
|
|||
#define SDL_GetBasePath SDL_GetBasePath_REAL
|
||||
#define SDL_GetBooleanProperty SDL_GetBooleanProperty_REAL
|
||||
#define SDL_GetCPUCacheLineSize SDL_GetCPUCacheLineSize_REAL
|
||||
#define SDL_GetCPUCount SDL_GetCPUCount_REAL
|
||||
#define SDL_GetNumLogicalCPUCores SDL_GetNumLogicalCPUCores_REAL
|
||||
#define SDL_GetCameraDriver SDL_GetCameraDriver_REAL
|
||||
#define SDL_GetCameraFormat SDL_GetCameraFormat_REAL
|
||||
#define SDL_GetCameraID SDL_GetCameraID_REAL
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue