mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-05-16 17:58:27 +00:00
Changed enums to use XXX_COUNT for the count or number of values
Fixes https://github.com/libsdl-org/SDL/issues/10763
This commit is contained in:
parent
64f12bea4a
commit
37c9fb490e
49 changed files with 197 additions and 174 deletions
|
@ -851,7 +851,7 @@ typedef SDL_ControllerTouchpadEvent, SDL_GamepadTouchpadEvent;
|
|||
@@
|
||||
@@
|
||||
- SDL_CONTROLLER_AXIS_MAX
|
||||
+ SDL_GAMEPAD_AXIS_MAX
|
||||
+ SDL_GAMEPAD_AXIS_COUNT
|
||||
@@
|
||||
@@
|
||||
- SDL_CONTROLLER_AXIS_RIGHTX
|
||||
|
@ -931,7 +931,7 @@ typedef SDL_ControllerTouchpadEvent, SDL_GamepadTouchpadEvent;
|
|||
@@
|
||||
@@
|
||||
- SDL_CONTROLLER_BUTTON_MAX
|
||||
+ SDL_GAMEPAD_BUTTON_MAX
|
||||
+ SDL_GAMEPAD_BUTTON_COUNT
|
||||
@@
|
||||
@@
|
||||
- SDL_CONTROLLER_BUTTON_MISC1
|
||||
|
@ -3651,3 +3651,19 @@ identifier func =~ "^(SDL_AddEventWatch|SDL_AddHintCallback|SDL_AddSurfaceAltern
|
|||
)
|
||||
- == -1
|
||||
)
|
||||
@@
|
||||
@@
|
||||
- SDL_NUM_LOG_PRIORITIES
|
||||
+ SDL_LOG_PRIORITY_COUNT
|
||||
@@
|
||||
@@
|
||||
- SDL_MESSAGEBOX_COLOR_MAX
|
||||
+ SDL_MESSAGEBOX_COLOR_COUNT
|
||||
@@
|
||||
@@
|
||||
- SDL_NUM_SYSTEM_CURSORS
|
||||
+ SDL_SYSTEM_CURSOR_COUNT
|
||||
@@
|
||||
@@
|
||||
- SDL_NUM_SCANCODES
|
||||
+ SDL_SCANCODE_COUNT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue