Differences From Artifact [f7bd66afbb]:
- File
src/hid/OHEmulatedGameControllerTriggerButton.h
— part of check-in
[bc3a7747d9]
at
2024-11-03 15:46:25
on branch trunk
— ObjFWHID: Properly hide private methods
Also fixes compiling XInput with GCC. (user: js, size: 1476) [annotate] [blame] [check-ins using] [more...]
To Artifact [f8a3eeb7a5]:
- File
src/hid/OHEmulatedGameControllerTriggerButton.h
— part of check-in
[b260ccdb53]
at
2024-11-09 12:03:57
on branch trunk
— Fix compiling with Clang that doesn't have D58152
D58152 fixes using objc_designated_initializer and objc_method_family
together.This is relevant because Clang 3.7 doesn't have D58152 and is the
compiler used by the last version of MSYS2 that still works on Windows
XP. (user: js, size: 1450) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
35 36 37 38 39 40 41 | analog: (bool)analog OF_UNAVAILABLE; + (instancetype)oh_buttonWithName: (OFString *)name axis: (OHGameControllerAxis *)axis; - (instancetype)oh_initWithName: (OFString *)name analog: (bool)analog OF_UNAVAILABLE; - (instancetype)oh_initWithName: (OFString *)name axis: (OHGameControllerAxis *)axis | | | 35 36 37 38 39 40 41 42 43 44 45 | analog: (bool)analog OF_UNAVAILABLE; + (instancetype)oh_buttonWithName: (OFString *)name axis: (OHGameControllerAxis *)axis; - (instancetype)oh_initWithName: (OFString *)name analog: (bool)analog OF_UNAVAILABLE; - (instancetype)oh_initWithName: (OFString *)name axis: (OHGameControllerAxis *)axis OF_METHOD_FAMILY(init); @end OF_ASSUME_NONNULL_END |