aboutsummaryrefslogtreecommitdiffstats
path: root/src/libgamma-method.h
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-05-21 16:04:19 +0200
committerMattias Andrée <maandree@operamail.com>2014-05-21 16:04:19 +0200
commitc8dc8e83feaf65d0331c60d597e38a4ec16228ae (patch)
tree8f717534650b63e78c7d0d0d43cb593819832eca /src/libgamma-method.h
parentadd header files for the gamma methods (diff)
downloadlibgamma-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.h7
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)
+
/**