Document the undefined behaviour of CLAMP() if low > high. (#448260)
authorEmmanuele Bassi <ebassi@gnome.org>
Sat, 16 Jun 2007 19:05:19 +0000 (19:05 +0000)
committerBehdad Esfahbod <behdad@src.gnome.org>
Sat, 16 Jun 2007 19:05:19 +0000 (19:05 +0000)
2007-06-16  Emmanuele Bassi  <ebassi@gnome.org>

        * glib/tmpl/macros.sgml: Document the undefined behaviour of
        CLAMP() if low > high. (#448260)

svn path=/trunk/; revision=5571

docs/reference/ChangeLog
docs/reference/glib/tmpl/macros.sgml

index 41f09a9..fc77b44 100644 (file)
@@ -1,3 +1,8 @@
+2007-06-16  Emmanuele Bassi  <ebassi@gnome.org>
+
+       * glib/tmpl/macros.sgml: Document the undefined behaviour of
+       CLAMP() if low > high. (#448260)
+
 2007-06-13  Sven Neumann  <sven@gimp.org>
 
        * glib/glib-sections.txt
index e453ed2..efa2779 100644 (file)
@@ -148,7 +148,8 @@ ABS(10) is also 10.
 
 <!-- ##### MACRO CLAMP ##### -->
 <para>
-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.
 </para>
 <para>
 For example,