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:
@@ -599,9 +599,22 @@
|
||||
#define SDL_UpperBlitScaled SDL_BlitSurfaceScaled
|
||||
|
||||
/* ##SDL_system.h */
|
||||
#define SDL_WinRTGetFSPathUTF8 SDL_WinRTGetFSPath
|
||||
#define SDL_iPhoneSetAnimationCallback SDL_iOSSetAnimationCallback
|
||||
#define SDL_iPhoneSetEventPump SDL_iOSSetEventPump
|
||||
#define SDL_AndroidGetActivity SDL_GetAndroidActivity
|
||||
#define SDL_AndroidGetExternalStoragePath SDL_GetAndroidExternalStoragePath
|
||||
#define SDL_AndroidGetExternalStorageState SDL_GetAndroidExternalStorageState
|
||||
#define SDL_AndroidGetInternalStoragePath SDL_GetAndroidInternalStoragePath
|
||||
#define SDL_AndroidGetJNIEnv SDL_GetAndroidJNIEnv
|
||||
#define SDL_Direct3D9GetAdapterIndex SDL_GetDirect3D9AdapterIndex
|
||||
#define SDL_GDKGetDefaultUser SDL_GetGDKDefaultUser
|
||||
#define SDL_GDKGetTaskQueue SDL_GetGDKTaskQueue
|
||||
#define SDL_LinuxSetThreadPriority SDL_SetLinuxThreadPriority
|
||||
#define SDL_LinuxSetThreadPriorityAndPolicy SDL_SetLinuxThreadPriorityAndPolicy
|
||||
#define SDL_WinRTGetDeviceFamily SDL_GetWinRTDeviceFamily
|
||||
#define SDL_GetWinRTFSPathUTF8 SDL_GetWinRTFSPath
|
||||
#define SDL_iOSSetAnimationCallback SDL_SetiOSAnimationCallback
|
||||
#define SDL_iOSSetEventPump SDL_SetiOSEventPump
|
||||
#define SDL_iPhoneSetAnimationCallback SDL_SetiOSAnimationCallback
|
||||
#define SDL_iPhoneSetEventPump SDL_SetiOSEventPump
|
||||
|
||||
/* ##SDL_thread.h */
|
||||
#define SDL_TLSCleanup SDL_CleanupTLS
|
||||
@@ -1197,7 +1210,20 @@
|
||||
#define SDL_UpperBlitScaled SDL_UpperBlitScaled_renamed_SDL_BlitSurfaceScaled
|
||||
|
||||
/* ##SDL_system.h */
|
||||
#define SDL_WinRTGetFSPathUTF8 SDL_WinRTGetFSPathUTF8_renamed_SDL_WinRTGetFSPath
|
||||
#define SDL_AndroidGetActivity SDL_AndroidGetActivity_renamed_SDL_GetAndroidActivity
|
||||
#define SDL_AndroidGetExternalStoragePath SDL_AndroidGetExternalStoragePath_renamed_SDL_GetAndroidExternalStoragePath
|
||||
#define SDL_AndroidGetExternalStorageState SDL_AndroidGetExternalStorageState_renamed_SDL_GetAndroidExternalStorageState
|
||||
#define SDL_AndroidGetInternalStoragePath SDL_AndroidGetInternalStoragePath_renamed_SDL_GetAndroidInternalStoragePath
|
||||
#define SDL_AndroidGetJNIEnv SDL_AndroidGetJNIEnv_renamed_SDL_GetAndroidJNIEnv
|
||||
#define SDL_Direct3D9GetAdapterIndex SDL_Direct3D9GetAdapterIndex_renamed_SDL_GetDirect3D9AdapterIndex
|
||||
#define SDL_GDKGetDefaultUser SDL_GDKGetDefaultUser_renamed_SDL_GetGDKDefaultUser
|
||||
#define SDL_GDKGetTaskQueue SDL_GDKGetTaskQueue_renamed_SDL_GetGDKTaskQueue
|
||||
#define SDL_LinuxSetThreadPriority SDL_LinuxSetThreadPriority_renamed_SDL_SetLinuxThreadPriority
|
||||
#define SDL_LinuxSetThreadPriorityAndPolicy SDL_LinuxSetThreadPriorityAndPolicy_renamed_SDL_SetLinuxThreadPriorityAndPolicy
|
||||
#define SDL_WinRTGetDeviceFamily SDL_WinRTGetDeviceFamily_renamed_SDL_GetWinRTDeviceFamily
|
||||
#define SDL_GetWinRTFSPathUTF8 SDL_GetWinRTFSPathUTF8_renamed_SDL_GetWinRTFSPath
|
||||
#define SDL_iOSSetAnimationCallback SDL_iOSSetAnimationCallback_renamed_SDL_SetiOSAnimationCallback
|
||||
#define SDL_iOSSetEventPump SDL_iOSSetEventPump_renamed_SDL_SetiOSEventPump
|
||||
#define SDL_iPhoneSetAnimationCallback SDL_iPhoneSetAnimationCallback_renamed_SDL_iOSSetAnimationCallback
|
||||
#define SDL_iPhoneSetEventPump SDL_iPhoneSetEventPump_renamed_SDL_iOSSetEventPump
|
||||
|
||||
|
||||
Reference in New Issue
Block a user