[asterisk-commits] russell: branch russell/heap r176002 - /team/russell/heap/include/asterisk/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Sun Feb 15 21:20:31 CST 2009


Author: russell
Date: Sun Feb 15 21:20:31 2009
New Revision: 176002

URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=176002
Log:
Note that return values < 0 and > 0 are just as good as -1 and 1

Modified:
    team/russell/heap/include/asterisk/heap.h

Modified: team/russell/heap/include/asterisk/heap.h
URL: http://svn.digium.com/svn-view/asterisk/team/russell/heap/include/asterisk/heap.h?view=diff&rev=176002&r1=176001&r2=176002
==============================================================================
--- team/russell/heap/include/asterisk/heap.h (original)
+++ team/russell/heap/include/asterisk/heap.h Sun Feb 15 21:20:31 2009
@@ -36,9 +36,9 @@
  * \param elm1 the first element
  * \param elm2 the second element
  *
- * \retval -1 if elm1 < elm2
+ * \retval negative if elm1 < elm2
  * \retval 0 if elm1 == elm2
- * \retval 1 if elm1 > elm2
+ * \retval positive if elm1 > elm2
  *
  * \note This implementation is of a max heap.  However, if a min heap is
  *       desired, simply swap the return values of this function.




More information about the asterisk-commits mailing list