Rename functions in SDL_system.h to match SDL 3.0 naming convention

Fixes https://github.com/libsdl-org/SDL/issues/10277
This commit is contained in:
Sam Lantinga
2024-07-15 16:13:23 -07:00
parent e38f971f46
commit 54366181c3
32 changed files with 252 additions and 158 deletions

View File

@@ -3134,17 +3134,17 @@ typedef SDL_Colour, SDL_Color;
@@
@@
- SDL_WinRTGetFSPathUTF8
+ SDL_WinRTGetFSPath
+ SDL_GetWinRTFSPath
(...)
@@
@@
- SDL_iPhoneSetAnimationCallback
+ SDL_iOSSetAnimationCallback
+ SDL_SetiOSAnimationCallback
(...)
@@
@@
- SDL_iPhoneSetEventPump
+ SDL_iOSSetEventPump
+ SDL_SetiOSEventPump
(...)
@@
@@
@@ -3501,3 +3501,58 @@ typedef SDL_Colour, SDL_Color;
- SDL_GL_DeleteContext
+ SDL_GL_DestroyContext
(...)
@@
@@
- SDL_AndroidGetActivity
+ SDL_GetAndroidActivity
(...)
@@
@@
- SDL_AndroidGetExternalStoragePath
+ SDL_GetAndroidExternalStoragePath
(...)
@@
@@
- SDL_AndroidGetExternalStorageState
+ SDL_GetAndroidExternalStorageState
(...)
@@
@@
- SDL_AndroidGetInternalStoragePath
+ SDL_GetAndroidInternalStoragePath
(...)
@@
@@
- SDL_AndroidGetJNIEnv
+ SDL_GetAndroidJNIEnv
(...)
@@
@@
- SDL_Direct3D9GetAdapterIndex
+ SDL_GetDirect3D9AdapterIndex
(...)
@@
@@
- SDL_GDKGetDefaultUser
+ SDL_GetGDKDefaultUser
(...)
@@
@@
- SDL_GDKGetTaskQueue
+ SDL_GetGDKTaskQueue
(...)
@@
@@
- SDL_WinRTGetDeviceFamily
+ SDL_GetWinRTDeviceFamily
(...)
@@
@@
- SDL_LinuxSetThreadPriority
+ SDL_SetLinuxThreadPriority
(...)
@@
@@
- SDL_LinuxSetThreadPriorityAndPolicy
+ SDL_SetLinuxThreadPriorityAndPolicy
(...)