From: Emmanuele Bassi Date: Sat, 16 Jun 2007 19:05:19 +0000 (+0000) Subject: Document the undefined behaviour of CLAMP() if low > high. (#448260) X-Git-Tag: GLIB_2_13_5~6 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=fe20105fb460e4dc9d8edba11f0b01b2c177f694;p=platform%2Fupstream%2Fglib.git Document the undefined behaviour of CLAMP() if low > high. (#448260) 2007-06-16 Emmanuele Bassi * glib/tmpl/macros.sgml: Document the undefined behaviour of CLAMP() if low > high. (#448260) svn path=/trunk/; revision=5571 --- diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index 41f09a9..fc77b44 100644 --- a/docs/reference/ChangeLog +++ b/docs/reference/ChangeLog @@ -1,3 +1,8 @@ +2007-06-16 Emmanuele Bassi + + * glib/tmpl/macros.sgml: Document the undefined behaviour of + CLAMP() if low > high. (#448260) + 2007-06-13 Sven Neumann * glib/glib-sections.txt diff --git a/docs/reference/glib/tmpl/macros.sgml b/docs/reference/glib/tmpl/macros.sgml index e453ed2..efa2779 100644 --- a/docs/reference/glib/tmpl/macros.sgml +++ b/docs/reference/glib/tmpl/macros.sgml @@ -148,7 +148,8 @@ ABS(10) is also 10. -Ensures that @x is between the limits set by @low and @high. +Ensures that @x is between the limits set by @low and @high. If @low is +greater than @high the result is undefined. For example,