* Read the integer from the the actual setting. * @param object The object the setting is to be saved in. * @return The value of the saved integer. */
| 565 | * @return The value of the saved integer. |
| 566 | */ |
| 567 | int32_t IntSettingDesc::Read(const void *object) const |
| 568 | { |
| 569 | void *ptr = GetVariableAddress(object, this->save); |
| 570 | return (int32_t)ReadValue(ptr, this->save.conv); |
| 571 | } |
| 572 | |
| 573 | /** |
| 574 | * Make the value valid given the limitations of this setting. |
no test coverage detected