aboutsummaryrefslogtreecommitdiffstats
path: root/libgamma.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-03-05 23:30:24 +0100
committerMattias Andrée <maandree@kth.se>2021-03-05 23:30:24 +0100
commit80a78b91c2905fcacf0236d63a9f4e3d7e576d7e (patch)
tree305419312ba536e041be28bb271118e0ccf6956b /libgamma.h
parentm (diff)
downloadlibgamma-80a78b91c2905fcacf0236d63a9f4e3d7e576d7e.tar.gz
libgamma-80a78b91c2905fcacf0236d63a9f4e3d7e576d7e.tar.bz2
libgamma-80a78b91c2905fcacf0236d63a9f4e3d7e576d7e.tar.xz
minor fixes + add tests
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libgamma.h')
-rw-r--r--libgamma.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/libgamma.h b/libgamma.h
index afbe6f3..f1aa0ce 100644
--- a/libgamma.h
+++ b/libgamma.h
@@ -1582,7 +1582,7 @@ LIBGAMMA_GCC_ONLY__(__attribute__((__warn_unused_result__, __const__)))
const char *libgamma_name_of_error(int);
/**
- * Get the value of a `libgamma` error definition refered to by name
+ * Get the value of a `libgamma` error definition referred to by name
*
* @param name The name of the definition associated with the error code
* @return The error code, zero if the name is `NULL`
@@ -1642,7 +1642,6 @@ void libgamma_group_name_set(const char *);
-
/**
* Get the name of an adjustment method,
* for example "randr" for `LIBGAMMA_METHOD_X_RANDR`
@@ -1725,7 +1724,8 @@ const char *libgamma_const_of_connector_type(int);
* @param connector The name of the connector type, for example
* "VGA" or "LIBGAMMA_CONNECTOR_TYPE_VGA"
* @return The connector type; for example `LIBGAMMA_CONNECTOR_TYPE_VGA`
- * for "VGA" and "LIBGAMMA_CONNECTOR_TYPE_VGA"
+ * for "VGA" and "LIBGAMMA_CONNECTOR_TYPE_VGA";
+ * `LIBGAMMA_CONNECTOR_TYPE_NOT_RECOGNISED` of not defined
*/
LIBGAMMA_GCC_ONLY__(__attribute__((__nonnull__, __warn_unused_result__, __access__(__read_only__, 1), __pure__)))
int libgamma_value_of_connector_type(const char *);
@@ -1764,7 +1764,8 @@ const char *libgamma_const_of_subpixel_order(int);
* @param order The name of the subpixel order, for example
* "Horizontal RGB" or "LIBGAMMA_SUBPIXEL_ORDER_HORIZONTAL_RGB"
* @return The subpixel order; for example `LIBGAMMA_SUBPIXEL_ORDER_HORIZONTAL_RGB`
- * for "Horizontal RGB" and "LIBGAMMA_SUBPIXEL_ORDER_HORIZONTAL_RGB"
+ * for "Horizontal RGB" and "LIBGAMMA_SUBPIXEL_ORDER_HORIZONTAL_RGB";
+ * `LIBGAMMA_SUBPIXEL_ORDER_NOT_RECOGNISED` of not defined
*/
LIBGAMMA_GCC_ONLY__(__attribute__((__nonnull__, __warn_unused_result__, __access__(__read_only__, 1), __pure__)))
int libgamma_value_of_subpixel_order(const char *);