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

Function get_array_property

lib/hidapi/mac/hid.c:293–301  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

291
292
293static CFArrayRef get_array_property(IOHIDDeviceRef device, CFStringRef key)
294{
295 CFTypeRef ref = IOHIDDeviceGetProperty(device, key);
296 if (ref != NULL && CFGetTypeID(ref) == CFArrayGetTypeID()) {
297 return (CFArrayRef)ref;
298 } else {
299 return NULL;
300 }
301}
302
303static int32_t get_int_property(IOHIDDeviceRef device, CFStringRef key)
304{

Callers 1

get_usage_pairsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected