mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-07 03:48:14 +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:
@@ -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
|
||||
|
Reference in New Issue
Block a user