diff options
author | Mattias Andrée <maandree@kth.se> | 2016-07-21 00:53:03 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2016-07-21 00:53:03 +0200 |
commit | 4a939c9813554298676adbc32b91465cfadcd030 (patch) | |
tree | b87b3163d27c8893a5a5691921746d1c12f7c2f4 /src/libcoopgamma.h | |
parent | m ref (diff) | |
download | libcoopgamma-4a939c9813554298676adbc32b91465cfadcd030.tar.gz libcoopgamma-4a939c9813554298676adbc32b91465cfadcd030.tar.bz2 libcoopgamma-4a939c9813554298676adbc32b91465cfadcd030.tar.xz |
m api fix
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'src/libcoopgamma.h')
-rw-r--r-- | src/libcoopgamma.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/libcoopgamma.h b/src/libcoopgamma.h index de188de..657592b 100644 --- a/src/libcoopgamma.h +++ b/src/libcoopgamma.h @@ -1512,14 +1512,13 @@ int libcoopgamma_get_gamma_sync(const libcoopgamma_filter_query_t* restrict, * Cannot be used before connecting to the server * * @param filter The filter to apply, update, or remove, gamma ramp meta-data must match the CRTC's - * @param depth The datatype for the stops in the gamma ramps, must match the CRTC's * @param ctx The state of the library, must be connected * @param async Information about the request, that is needed to * identify and parse the response, is stored here * @return Zero on success, -1 on error */ LIBCOOPGAMMA_GCC_ONLY(__attribute__((__nonnull__))) -int libcoopgamma_set_gamma_send(const libcoopgamma_filter_t* restrict, libcoopgamma_depth_t, +int libcoopgamma_set_gamma_send(const libcoopgamma_filter_t* restrict, libcoopgamma_context_t* restrict, libcoopgamma_async_context_t* restrict); /** @@ -1544,14 +1543,12 @@ int libcoopgamma_set_gamma_recv(libcoopgamma_context_t* restrict, libcoopgamma_a * operation without disconnection from the server * * @param filter The filter to apply, update, or remove, gamma ramp meta-data must match the CRTC's - * @param depth The datatype for the stops in the gamma ramps, must match the CRTC's * @param ctx The state of the library, must be connected * @return Zero on success, -1 on error, in which case `ctx->error` * (rather than `errno`) is read for information about the error */ LIBCOOPGAMMA_GCC_ONLY(__attribute__((__nonnull__))) -int libcoopgamma_set_gamma_sync(const libcoopgamma_filter_t* restrict, libcoopgamma_depth_t, - libcoopgamma_context_t* restrict); +int libcoopgamma_set_gamma_sync(const libcoopgamma_filter_t* restrict, libcoopgamma_context_t* restrict); |