SDL_migration.cocci: Fixed up some SDL3 symbols that had changed.

This commit is contained in:
Ryan C. Gordon 2024-11-30 20:08:38 -05:00
parent 3a1d76d298
commit acf0f09320
No known key found for this signature in database
GPG key ID: FA148B892AB48044

View file

@ -1081,7 +1081,7 @@ typedef SDL_GameControllerButton, SDL_GamepadButton;
@@ @@
@@ @@
- SDL_GameControllerFromInstanceID - SDL_GameControllerFromInstanceID
+ SDL_GetGamepadFromInstanceID + SDL_GetGamepadFromID
(...) (...)
@@ @@
@@ @@
@ -1318,7 +1318,7 @@ typedef SDL_GameControllerButton, SDL_GamepadButton;
@@ @@
@@ @@
- SDL_JoystickFromInstanceID - SDL_JoystickFromInstanceID
+ SDL_GetJoystickFromInstanceID + SDL_GetJoystickFromID
(...) (...)
@@ @@
@@ @@
@ -1398,7 +1398,7 @@ typedef SDL_GameControllerButton, SDL_GamepadButton;
@@ @@
@@ @@
- SDL_JoystickInstanceID - SDL_JoystickInstanceID
+ SDL_GetJoystickInstanceID + SDL_GetJoystickID
(...) (...)
@@ @@
@@ @@
@ -1807,7 +1807,7 @@ expression e2;
@@ @@
@@ @@
- SDL_SensorFromInstanceID - SDL_SensorFromInstanceID
+ SDL_GetSensorFromInstanceID + SDL_GetSensorFromID
(...) (...)
@@ @@
@@ @@
@ -1817,7 +1817,7 @@ expression e2;
@@ @@
@@ @@
- SDL_SensorGetInstanceID - SDL_SensorGetInstanceID
+ SDL_GetSensorInstanceID + SDL_GetSensorID
(...) (...)
@@ @@
@@ @@