diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-09-02 06:22:12 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-09-02 06:22:12 +0200 |
commit | 058fcaed27504aba4f2b4fcfeb93fdc50f6d7c1c (patch) | |
tree | 24d91f7a3e567e4b2168be9ad4751dc97dd53a99 /src/lib/libgamma-error.h | |
parent | stylo (diff) | |
download | libgamma-058fcaed27504aba4f2b4fcfeb93fdc50f6d7c1c.tar.gz libgamma-058fcaed27504aba4f2b4fcfeb93fdc50f6d7c1c.tar.bz2 libgamma-058fcaed27504aba4f2b4fcfeb93fdc50f6d7c1c.tar.xz |
LIBGAMMA_ERRNO_SET should have value -1 functions returning -1 on error can be parsed as if they returned a libgamma error code
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/lib/libgamma-error.h')
-rw-r--r-- | src/lib/libgamma-error.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/libgamma-error.h b/src/lib/libgamma-error.h index 7e8dd2d..72c707d 100644 --- a/src/lib/libgamma-error.h +++ b/src/lib/libgamma-error.h @@ -50,16 +50,16 @@ extern const char* libgamma_group_name; /** - * The selected adjustment method does not exist - * or has been excluded at compile-time. + * `errno` has be set with a standard error number + * to indicate the what has gone wrong. */ -#define LIBGAMMA_NO_SUCH_ADJUSTMENT_METHOD (-1) +#define LIBGAMMA_ERRNO_SET (-1) /** - * `errno` has be set with a standard error number - * to indicate the what has gone wrong. + * The selected adjustment method does not exist + * or has been excluded at compile-time. */ -#define LIBGAMMA_ERRNO_SET (-2) +#define LIBGAMMA_NO_SUCH_ADJUSTMENT_METHOD (-2) /** * The selected site does not exist. |