Skip to content

Commit

Permalink
SDL_migration.cocci: Fixed up some SDL3 symbols that had changed.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Dec 1, 2024
1 parent 3a1d76d commit acf0f09
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions build-scripts/SDL_migration.cocci
Original file line number Diff line number Diff line change
Expand Up @@ -1081,7 +1081,7 @@ typedef SDL_GameControllerButton, SDL_GamepadButton;
@@
@@
- SDL_GameControllerFromInstanceID
+ SDL_GetGamepadFromInstanceID
+ SDL_GetGamepadFromID
(...)
@@
@@
Expand Down Expand Up @@ -1318,7 +1318,7 @@ typedef SDL_GameControllerButton, SDL_GamepadButton;
@@
@@
- SDL_JoystickFromInstanceID
+ SDL_GetJoystickFromInstanceID
+ SDL_GetJoystickFromID
(...)
@@
@@
Expand Down Expand Up @@ -1398,7 +1398,7 @@ typedef SDL_GameControllerButton, SDL_GamepadButton;
@@
@@
- SDL_JoystickInstanceID
+ SDL_GetJoystickInstanceID
+ SDL_GetJoystickID
(...)
@@
@@
Expand Down Expand Up @@ -1807,7 +1807,7 @@ expression e2;
@@
@@
- SDL_SensorFromInstanceID
+ SDL_GetSensorFromInstanceID
+ SDL_GetSensorFromID
(...)
@@
@@
Expand All @@ -1817,7 +1817,7 @@ expression e2;
@@
@@
- SDL_SensorGetInstanceID
+ SDL_GetSensorInstanceID
+ SDL_GetSensorID
(...)
@@
@@
Expand Down

0 comments on commit acf0f09

Please sign in to comment.