Similar to register_device_error, but you can pass a format string into this function. */
| 282 | |
| 283 | /* Similar to register_device_error, but you can pass a format string into this function. */ |
| 284 | static void register_device_error_format(hid_device *dev, const char *format, ...) |
| 285 | { |
| 286 | va_list args; |
| 287 | va_start(args, format); |
| 288 | register_error_str_vformat(&dev->last_error_str, format, args); |
| 289 | va_end(args); |
| 290 | } |
| 291 | |
| 292 | |
| 293 | static CFArrayRef get_array_property(IOHIDDeviceRef device, CFStringRef key) |
no test coverage detected