diff options
author | Mattias Andrée <maandree@kth.se> | 2021-03-07 22:51:21 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2021-03-07 22:51:21 +0100 |
commit | baa6a1cf7979c095c1081daa2a2d1134c76d2f1b (patch) | |
tree | d0525238a334091eb4d241b0b83da1a4a1793d5b /method-quartz-cg.h | |
parent | Start replacing info manual with man pages (diff) | |
download | libgamma-baa6a1cf7979c095c1081daa2a2d1134c76d2f1b.tar.gz libgamma-baa6a1cf7979c095c1081daa2a2d1134c76d2f1b.tar.bz2 libgamma-baa6a1cf7979c095c1081daa2a2d1134c76d2f1b.tar.xz |
misc
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to '')
-rw-r--r-- | method-quartz-cg.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/method-quartz-cg.h b/method-quartz-cg.h index 177378e..e37e3e4 100644 --- a/method-quartz-cg.h +++ b/method-quartz-cg.h @@ -16,7 +16,7 @@ * @param this The data structure to fill with the method's capabilities */ LIBGAMMA_GCC_ONLY__(__attribute__((__nonnull__))) -void libgamma_quartz_cg_method_capabilities(libgamma_method_capabilities_t *restrict); +void libgamma_quartz_cg_method_capabilities(struct libgamma_method_capabilities *restrict); /** * Initialise an allocated site state @@ -32,7 +32,7 @@ void libgamma_quartz_cg_method_capabilities(libgamma_method_capabilities_t *rest * error identifier provided by this library */ LIBGAMMA_GCC_ONLY__(__attribute__((__nonnull__(1), __warn_unused_result__))) -int libgamma_quartz_cg_site_initialise(libgamma_site_state_t *restrict, char *restrict); +int libgamma_quartz_cg_site_initialise(struct libgamma_site_state *restrict, char *restrict); /** * Release all resources held by a site state @@ -40,7 +40,7 @@ int libgamma_quartz_cg_site_initialise(libgamma_site_state_t *restrict, char *re * @param this The site state */ LIBGAMMA_GCC_ONLY__(__attribute__((__nonnull__))) -void libgamma_quartz_cg_site_destroy(libgamma_site_state_t *restrict); +void libgamma_quartz_cg_site_destroy(struct libgamma_site_state *restrict); /** * Restore the gamma ramps all CRTC:s with a site to the system settings @@ -50,7 +50,7 @@ void libgamma_quartz_cg_site_destroy(libgamma_site_state_t *restrict); * error identifier provided by this library */ LIBGAMMA_GCC_ONLY__(__attribute__((__nonnull__, __warn_unused_result__))) -int libgamma_quartz_cg_site_restore(libgamma_site_state_t *restrict); +int libgamma_quartz_cg_site_restore(struct libgamma_site_state *restrict); /** @@ -63,7 +63,7 @@ int libgamma_quartz_cg_site_restore(libgamma_site_state_t *restrict); * error identifier provided by this library */ LIBGAMMA_GCC_ONLY__(__attribute__((__nonnull__, __warn_unused_result__))) -int libgamma_quartz_cg_partition_initialise(libgamma_partition_state_t *restrict, libgamma_site_state_t *restrict, size_t); +int libgamma_quartz_cg_partition_initialise(struct libgamma_partition_state *restrict, struct libgamma_site_state *restrict, size_t); /** * Release all resources held by a partition state @@ -71,7 +71,7 @@ int libgamma_quartz_cg_partition_initialise(libgamma_partition_state_t *restrict * @param this The partition state */ LIBGAMMA_GCC_ONLY__(__attribute__((__nonnull__))) -void libgamma_quartz_cg_partition_destroy(libgamma_partition_state_t *restrict); +void libgamma_quartz_cg_partition_destroy(struct libgamma_partition_state *restrict); /** * Restore the gamma ramps all CRTC:s with a partition to the system settings @@ -81,7 +81,7 @@ void libgamma_quartz_cg_partition_destroy(libgamma_partition_state_t *restrict); * error identifier provided by this library */ LIBGAMMA_GCC_ONLY__(__attribute__((__nonnull__, __warn_unused_result__))) -int libgamma_quartz_cg_partition_restore(libgamma_partition_state_t *restrict); +int libgamma_quartz_cg_partition_restore(struct libgamma_partition_state *restrict); /** @@ -94,7 +94,7 @@ int libgamma_quartz_cg_partition_restore(libgamma_partition_state_t *restrict); * error identifier provided by this library */ LIBGAMMA_GCC_ONLY__(__attribute__((__nonnull__, __warn_unused_result__, __pure__))) -int libgamma_quartz_cg_crtc_initialise(libgamma_crtc_state_t *restrict, libgamma_partition_state_t *restrict, size_t); +int libgamma_quartz_cg_crtc_initialise(struct libgamma_crtc_state *restrict, struct libgamma_partition_state *restrict, size_t); /** * Release all resources held by a CRTC state @@ -102,7 +102,7 @@ int libgamma_quartz_cg_crtc_initialise(libgamma_crtc_state_t *restrict, libgamma * @param this The CRTC state */ LIBGAMMA_GCC_ONLY__(__attribute__((__nonnull__))) -void libgamma_quartz_cg_crtc_destroy(libgamma_crtc_state_t *restrict); +void libgamma_quartz_cg_crtc_destroy(struct libgamma_crtc_state *restrict); /** * Restore the gamma ramps for a CRTC to the system settings for that CRTC @@ -112,7 +112,7 @@ void libgamma_quartz_cg_crtc_destroy(libgamma_crtc_state_t *restrict); * error identifier provided by this library */ LIBGAMMA_GCC_ONLY__(__attribute__((__nonnull__, __warn_unused_result__))) -int libgamma_quartz_cg_crtc_restore(libgamma_crtc_state_t *restrict); +int libgamma_quartz_cg_crtc_restore(struct libgamma_crtc_state *restrict); /** @@ -124,8 +124,8 @@ int libgamma_quartz_cg_crtc_restore(libgamma_crtc_state_t *restrict); * @return Zero on success, -1 on error; on error refer to the error reports in `this` */ LIBGAMMA_GCC_ONLY__(__attribute__((__nonnull__, __warn_unused_result__))) -int libgamma_quartz_cg_get_crtc_information(libgamma_crtc_information_t *restrict, - libgamma_crtc_state_t *restrict, unsigned long long); +int libgamma_quartz_cg_get_crtc_information(struct libgamma_crtc_information *restrict, + struct libgamma_crtc_state *restrict, unsigned long long); /** * Get the current gamma ramps for a CRTC, `float` version @@ -136,7 +136,7 @@ int libgamma_quartz_cg_get_crtc_information(libgamma_crtc_information_t *restric * error identifier provided by this library */ LIBGAMMA_GCC_ONLY__(__attribute__((__nonnull__, __warn_unused_result__))) -int libgamma_quartz_cg_crtc_get_gamma_rampsf(libgamma_crtc_state_t *restrict, libgamma_gamma_rampsf_t *restrict); +int libgamma_quartz_cg_crtc_get_gamma_rampsf(struct libgamma_crtc_state *restrict, struct libgamma_gamma_rampsf *restrict); /** * Set the gamma ramps for a CRTC, `float` version @@ -147,4 +147,4 @@ int libgamma_quartz_cg_crtc_get_gamma_rampsf(libgamma_crtc_state_t *restrict, li * error identifier provided by this library */ LIBGAMMA_GCC_ONLY__(__attribute__((__nonnull__, __warn_unused_result__))) -int libgamma_quartz_cg_crtc_set_gamma_rampsf(libgamma_crtc_state_t *restrict, const libgamma_gamma_rampsf_t *restrict); +int libgamma_quartz_cg_crtc_set_gamma_rampsf(struct libgamma_crtc_state *restrict, const struct libgamma_gamma_rampsf *restrict); |