Document the undefined behaviour of CLAMP() if low > high. (#448260)

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
This commit is contained in:
Emmanuele Bassi 2007-06-16 19:05:19 +00:00 committed by Behdad Esfahbod
parent 506fd2d2e1
commit fe20105fb4
2 changed files with 7 additions and 1 deletions

View 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

View 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,