![]() |
libdisplaydevice master
C++ library to modify display devices.
|
Declarations for lower level macOS API utility functions. More...
#include "types.h"Go to the source code of this file.
Namespaces | |
| namespace | display_device::mac_utils |
| Shared utility-level code for macOS API wrappers. | |
Functions | |
| bool | display_device::mac_utils::fuzzyCompareModes (const MacDisplayMode &lhs, const MacDisplayMode &rhs) |
| Check if two macOS display modes are close enough to be treated as equal. | |
| bool | display_device::mac_utils::fuzzyCompareRefreshRates (const Rational &lhs, const Rational &rhs) |
| Check if two refresh rates are close enough to be treated as equal. | |
| bool | display_device::mac_utils::isSuccess (MacApiError error_code) |
| Check if a macOS API error represents success. | |
Declarations for lower level macOS API utility functions.