diff options
author | Mattias Andrée <maandree@kth.se> | 2016-08-04 18:46:46 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@kth.se> | 2016-08-04 18:46:46 +0200 |
commit | 577b99728abc426833e2ff1d61e9d0419099ef22 (patch) | |
tree | 76db41c9a0fb34abd899e0f8e69df762e5bcc1ab | |
parent | Read colour space info from get-gamma-info response (diff) | |
download | libcoopgamma-577b99728abc426833e2ff1d61e9d0419099ef22.tar.gz libcoopgamma-577b99728abc426833e2ff1d61e9d0419099ef22.tar.bz2 libcoopgamma-577b99728abc426833e2ff1d61e9d0419099ef22.tar.xz |
libcoopgamma_synchronise allows 0 calls to synchronise
This is useful for waiting for the server to close or
keep the buffer from becoming full
-rw-r--r-- | src/libcoopgamma.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcoopgamma.h b/src/libcoopgamma.h index a4a21e5..f670afa 100644 --- a/src/libcoopgamma.h +++ b/src/libcoopgamma.h @@ -1461,7 +1461,7 @@ int libcoopgamma_flush(libcoopgamma_context_t* restrict); * received a corrupt message and the context has been tainted * beyond recover. */ -LIBCOOPGAMMA_GCC_ONLY(__attribute__((__nonnull__, __leaf__))) +LIBCOOPGAMMA_GCC_ONLY(__attribute__((__nonnull__(1, 4), __leaf__))) int libcoopgamma_synchronise(libcoopgamma_context_t* restrict, libcoopgamma_async_context_t* restrict, size_t, size_t* restrict); |