| 61 | } |
| 62 | |
| 63 | void osvrTimeValueSum(OSVR_INOUT_PTR OSVR_TimeValue *tvA, |
| 64 | OSVR_IN_PTR const OSVR_TimeValue *tvB) { |
| 65 | if (!tvA || !tvB) { |
| 66 | return; |
| 67 | } |
| 68 | tvA->seconds += tvB->seconds; |
| 69 | tvA->microseconds += tvB->microseconds; |
| 70 | osvrTimeValueNormalize(tvA); |
| 71 | } |
| 72 | |
| 73 | void osvrTimeValueDifference(OSVR_INOUT_PTR OSVR_TimeValue *tvA, |
| 74 | OSVR_IN_PTR const OSVR_TimeValue *tvB) { |
nothing calls this directly
no test coverage detected