mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-04 08:56:25 +00:00
Remove more reserved identifiers (#6925)
This commit is contained in:
@@ -622,7 +622,7 @@ static void SDLCALL SDL_AppleTVRemoteRotationHintChanged(void *udata, const char
|
||||
static int IOS_JoystickInit(void)
|
||||
{
|
||||
#if defined(__MACOS__)
|
||||
#if _SDL_HAS_BUILTIN(__builtin_available)
|
||||
#if SDL_HAS_BUILTIN(__builtin_available)
|
||||
if (@available(macOS 10.16, *)) {
|
||||
/* Continue with initialization on macOS 11+ */
|
||||
} else {
|
||||
|
@@ -46,9 +46,9 @@
|
||||
#define USB_PACKET_LENGTH 64
|
||||
|
||||
/* Forward declaration */
|
||||
struct _SDL_HIDAPI_DeviceDriver;
|
||||
struct SDL_HIDAPI_DeviceDriver;
|
||||
|
||||
typedef struct _SDL_HIDAPI_Device
|
||||
typedef struct SDL_HIDAPI_Device
|
||||
{
|
||||
char *name;
|
||||
char *path;
|
||||
@@ -67,7 +67,7 @@ typedef struct _SDL_HIDAPI_Device
|
||||
SDL_JoystickType joystick_type;
|
||||
SDL_GamepadType type;
|
||||
|
||||
struct _SDL_HIDAPI_DeviceDriver *driver;
|
||||
struct SDL_HIDAPI_DeviceDriver *driver;
|
||||
void *context;
|
||||
SDL_mutex *dev_lock;
|
||||
SDL_hid_device *dev;
|
||||
@@ -81,14 +81,14 @@ typedef struct _SDL_HIDAPI_Device
|
||||
/* Used to flag that the device is being updated */
|
||||
SDL_bool updating;
|
||||
|
||||
struct _SDL_HIDAPI_Device *parent;
|
||||
struct SDL_HIDAPI_Device *parent;
|
||||
int num_children;
|
||||
struct _SDL_HIDAPI_Device **children;
|
||||
struct SDL_HIDAPI_Device **children;
|
||||
|
||||
struct _SDL_HIDAPI_Device *next;
|
||||
struct SDL_HIDAPI_Device *next;
|
||||
} SDL_HIDAPI_Device;
|
||||
|
||||
typedef struct _SDL_HIDAPI_DeviceDriver
|
||||
typedef struct SDL_HIDAPI_DeviceDriver
|
||||
{
|
||||
const char *name;
|
||||
SDL_bool enabled;
|
||||
|
@@ -93,7 +93,7 @@ static int SDL_RAWINPUT_numjoysticks = 0;
|
||||
|
||||
static void RAWINPUT_JoystickClose(SDL_Joystick *joystick);
|
||||
|
||||
typedef struct _SDL_RAWINPUT_Device
|
||||
typedef struct SDL_RAWINPUT_Device
|
||||
{
|
||||
SDL_atomic_t refcount;
|
||||
char *name;
|
||||
@@ -110,7 +110,7 @@ typedef struct _SDL_RAWINPUT_Device
|
||||
SDL_Joystick *joystick;
|
||||
SDL_JoystickID joystick_id;
|
||||
|
||||
struct _SDL_RAWINPUT_Device *next;
|
||||
struct SDL_RAWINPUT_Device *next;
|
||||
} SDL_RAWINPUT_Device;
|
||||
|
||||
struct joystick_hwdata
|
||||
|
Reference in New Issue
Block a user