diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-05-21 16:04:19 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-05-21 16:04:19 +0200 |
commit | c8dc8e83feaf65d0331c60d597e38a4ec16228ae (patch) | |
tree | 8f717534650b63e78c7d0d0d43cb593819832eca /src/libgamma-method.h | |
parent | add header files for the gamma methods (diff) | |
download | libgamma-c8dc8e83feaf65d0331c60d597e38a4ec16228ae.tar.gz libgamma-c8dc8e83feaf65d0331c60d597e38a4ec16228ae.tar.bz2 libgamma-c8dc8e83feaf65d0331c60d597e38a4ec16228ae.tar.xz |
add function for listing available methods + add __attribute__((cold)) and __attribute__((hot))
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/libgamma-method.h')
-rw-r--r-- | src/libgamma-method.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/libgamma-method.h b/src/libgamma-method.h index 8b78e4e..e79e893 100644 --- a/src/libgamma-method.h +++ b/src/libgamma-method.h @@ -97,6 +97,13 @@ */ #define GAMMA_METHOD_MAX 5 +/** + * The number adjustment methods provided by this library. + * Note however that this includes adjstment methods that + * have been removed at compile-time. + */ +#define GAMMA_METHOD_COUNT (GAMMA_METHOD_MAX + 1) + /** |