diff --git a/docs/reference/ChangeLog b/docs/reference/ChangeLog index 41f09a96d..fc77b4470 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 e453ed2f5..efa277968 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,