MCPcopy Create free account
hub / github.com/Serial-Studio/Serial-Studio / register_device_error_format

Function register_device_error_format

lib/hidapi/mac/hid.c:284–290  ·  view source on GitHub ↗

Similar to register_device_error, but you can pass a format string into this function. */

Source from the content-addressed store, hash-verified

282
283/* Similar to register_device_error, but you can pass a format string into this function. */
284static 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
293static CFArrayRef get_array_property(IOHIDDeviceRef device, CFStringRef key)

Callers 2

set_reportFunction · 0.70
get_reportFunction · 0.70

Calls 1

Tested by

no test coverage detected