]> mj.ucw.cz Git - libucw.git/commitdiff
Sorter: Fixed a documentation comment
authorMartin Mares <mj@ucw.cz>
Sat, 17 May 2014 21:36:04 +0000 (23:36 +0200)
committerMartin Mares <mj@ucw.cz>
Sat, 17 May 2014 21:36:04 +0000 (23:36 +0200)
ucw/sorter/array-simple.h

index 5e442439f78e8df98ef40eb7cb2fbfbfa4bbaf3a..42c5f470ca9ca0e5d1556ece2566923dac04626d 100644 (file)
@@ -27,7 +27,7 @@
  *  ASORT_KEY_TYPE  [*]        data type of a single array entry key
  *  ASORT_ELT(i)       returns the key of i-th element; if this macro is not
  *                     defined, the function gets a pointer to an array to be sorted
- *  ASORT_LT(x,y)      x < y for ASORT_TYPE (default: "x<y")
+ *  ASORT_LT(x,y)      x < y for ASORT_KEY_TYPE (default: "x<y")
  *  ASORT_SWAP(i,j)    swap i-th and j-th element (default: assume _ELT
  *                     is an l-value and swap just the keys)
  *  ASORT_THRESHOLD    threshold for switching between quicksort and insertsort