From acf0f09320ec75528d74b1fd160090ea262c0698 Mon Sep 17 00:00:00 2001
From: "Ryan C. Gordon" <[EMAIL REDACTED]>
Date: Sat, 30 Nov 2024 20:08:38 -0500
Subject: [PATCH] SDL_migration.cocci: Fixed up some SDL3 symbols that had
changed.
---
build-scripts/SDL_migration.cocci | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/build-scripts/SDL_migration.cocci b/build-scripts/SDL_migration.cocci
index 7a36ec859c72f..27a549fdd3fe3 100644
--- a/build-scripts/SDL_migration.cocci
+++ b/build-scripts/SDL_migration.cocci
@@ -1081,7 +1081,7 @@ typedef SDL_GameControllerButton, SDL_GamepadButton;
@@
@@
- SDL_GameControllerFromInstanceID
-+ SDL_GetGamepadFromInstanceID
++ SDL_GetGamepadFromID
(...)
@@
@@
@@ -1318,7 +1318,7 @@ typedef SDL_GameControllerButton, SDL_GamepadButton;
@@
@@
- SDL_JoystickFromInstanceID
-+ SDL_GetJoystickFromInstanceID
++ SDL_GetJoystickFromID
(...)
@@
@@
@@ -1398,7 +1398,7 @@ typedef SDL_GameControllerButton, SDL_GamepadButton;
@@
@@
- SDL_JoystickInstanceID
-+ SDL_GetJoystickInstanceID
++ SDL_GetJoystickID
(...)
@@
@@
@@ -1807,7 +1807,7 @@ expression e2;
@@
@@
- SDL_SensorFromInstanceID
-+ SDL_GetSensorFromInstanceID
++ SDL_GetSensorFromID
(...)
@@
@@
@@ -1817,7 +1817,7 @@ expression e2;
@@
@@
- SDL_SensorGetInstanceID
-+ SDL_GetSensorInstanceID
++ SDL_GetSensorID
(...)
@@
@@