mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-21 18:58:13 +00:00
SDL_GUIDFromString() renamed SDL_StringToGUID()
This commit is contained in:
@@ -75,7 +75,7 @@ typedef struct SDL_GUID {
|
||||
*
|
||||
* \since This function is available since SDL 3.0.0.
|
||||
*
|
||||
* \sa SDL_GUIDFromString
|
||||
* \sa SDL_StringToGUID
|
||||
*/
|
||||
extern SDL_DECLSPEC const char * SDLCALL SDL_GUIDToString(SDL_GUID guid);
|
||||
|
||||
@@ -93,7 +93,7 @@ extern SDL_DECLSPEC const char * SDLCALL SDL_GUIDToString(SDL_GUID guid);
|
||||
*
|
||||
* \sa SDL_GUIDToString
|
||||
*/
|
||||
extern SDL_DECLSPEC SDL_GUID SDLCALL SDL_GUIDFromString(const char *pchGUID);
|
||||
extern SDL_DECLSPEC SDL_GUID SDLCALL SDL_StringToGUID(const char *pchGUID);
|
||||
|
||||
/* Ends C function definitions when using C++ */
|
||||
#ifdef __cplusplus
|
||||
|
@@ -266,6 +266,9 @@
|
||||
#define SDL_INIT_GAMECONTROLLER SDL_INIT_GAMEPAD
|
||||
#define SDL_IsGameController SDL_IsGamepad
|
||||
|
||||
/* ##SDL_guid.h */
|
||||
#define SDL_GUIDFromString SDL_StringToGUID
|
||||
|
||||
/* ##SDL_haptic.h */
|
||||
#define SDL_HapticClose SDL_CloseHaptic
|
||||
#define SDL_HapticDestroyEffect SDL_DestroyHapticEffect
|
||||
@@ -317,7 +320,7 @@
|
||||
#define SDL_JoystickGetButton SDL_GetJoystickButton
|
||||
#define SDL_JoystickGetFirmwareVersion SDL_GetJoystickFirmwareVersion
|
||||
#define SDL_JoystickGetGUID SDL_GetJoystickGUID
|
||||
#define SDL_JoystickGetGUIDFromString SDL_GUIDFromString
|
||||
#define SDL_JoystickGetGUIDFromString SDL_StringToGUID
|
||||
#define SDL_JoystickGetHat SDL_GetJoystickHat
|
||||
#define SDL_JoystickGetPlayerIndex SDL_GetJoystickPlayerIndex
|
||||
#define SDL_JoystickGetProduct SDL_GetJoystickProduct
|
||||
@@ -882,6 +885,9 @@
|
||||
#define SDL_INIT_GAMECONTROLLER SDL_INIT_GAMECONTROLLER_renamed_SDL_INIT_GAMEPAD
|
||||
#define SDL_IsGameController SDL_IsGameController_renamed_SDL_IsGamepad
|
||||
|
||||
/* ##SDL_guid.h */
|
||||
#define SDL_GUIDFromString SDL_GUIDFromString_renamed_SDL_StringToGUID
|
||||
|
||||
/* ##SDL_haptic.h */
|
||||
#define SDL_HapticClose SDL_HapticClose_renamed_SDL_CloseHaptic
|
||||
#define SDL_HapticDestroyEffect SDL_HapticDestroyEffect_renamed_SDL_DestroyHapticEffect
|
||||
|
Reference in New Issue
Block a user