From d2bdb3ae8ed01d1d06c9b0ac47412c38ed14393d Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Wed, 28 May 2014 04:15:01 +0200 Subject: on GAMMA_METHOD_MAX and GAMMA_METHOD_COUNT MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- info/libgamma.texinfo | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'info') diff --git a/info/libgamma.texinfo b/info/libgamma.texinfo index 5c5afdd..6322e73 100644 --- a/info/libgamma.texinfo +++ b/info/libgamma.texinfo @@ -428,6 +428,17 @@ step was `-10', which it really was not. So if you use this in your program you should receive a warning until you update the value. +In a similar manner, you should all a check to detect +when the value of either @code{GAMMA_METHOD_MAX} or +@code{GAMMA_METHOD_COUNT} (the latter will have value +of one higher than the earlier) have increased. This +will allow you to get a warning for when new adjustment +method have been added so you can take appropriate +actions if required. @command{libgamma} does not only +provide display server abstract, it optionally lets you +choose any available method you want despite of what +display server you are used. + @node GNU Free Documentation License -- cgit v1.2.3-70-g09d2