| 46 | } |
| 47 | |
| 48 | void TrackpointDevice::getOSIntValue(OSDictionary *dict, int *val, const char *key) { |
| 49 | OSNumber *osnum = OSDynamicCast(OSNumber, dict->getObject(key)); |
| 50 | if (osnum != nullptr) *val = osnum->unsigned32BitValue(); |
| 51 | } |
| 52 | |
| 53 | void TrackpointDevice::getOSShortValue(OSDictionary *dict, short *val, const char *key) { |
| 54 | OSNumber *osnum = OSDynamicCast(OSNumber, dict->getObject(key)); |
nothing calls this directly
no outgoing calls
no test coverage detected