1. 19 Aug, 2015 3 commits
  2. 18 Aug, 2015 2 commits
  3. 17 Aug, 2015 2 commits
  4. 15 Aug, 2015 2 commits
  5. 14 Aug, 2015 1 commit
  6. 12 Aug, 2015 5 commits
  7. 01 Aug, 2015 7 commits
  8. 30 Jul, 2015 2 commits
  9. 20 Jul, 2015 1 commit
  10. 09 Jul, 2015 7 commits
  11. 08 Jul, 2015 3 commits
  12. 25 Jun, 2015 2 commits
  13. 18 Jun, 2015 3 commits
    • David Gibson's avatar
      avl: Use definitions from order module · 712dc43d
      David Gibson authored
      The AvlCompare type defined in the avl module is identical in signature to
      the compare function used by qsort() and bsearch().  That has a common
      definition in the new order module, so use that rather than defining its
      own.
      
      In addition use the standard comparison functions from order where possible
      for the avl test code.
      
      Cc: Joey Adams <joeyadams3.14159@gmail.com>
      Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
      712dc43d
    • David Gibson's avatar
      asort: Use order module definitions · 918a733f
      David Gibson authored
      The asort routine takes a user-supplied comparison function.  Use the
      definitions from the new order module to slightly simplify the declaration
      and handling of this function.
      Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
      918a733f
    • David Gibson's avatar
      order: Scalar comparison functions · 37825438
      David Gibson authored
      Extend the order module to provide simple, standard, comparison
      callbacks for scalar types (i.e. integer and floating point types).
      
      In addition to the usual variants comparing a plain scalar, this also
      provides helper macros to construct a suitably typed callback and context
      pointer to order structures by a specified scalar field.
      Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
      37825438