Commit graph

4 commits

Author SHA1 Message Date
Dana Jansens
7d32190a4c Add another BSEARCH function that lets you search through an array of objects.
If you give it a value x, the macro lets you pull a value out of each object
that you want to compare to x.
2012-09-30 14:50:30 -04:00
Dana Jansens
7eeae03f06 oops, crash if searching for something smaller than * in the array 2011-01-24 14:19:22 -05:00
Dana Jansens
3997d7aef5 add some comments for binary search 2010-04-16 20:56:27 +02:00
Dana Jansens
262591ec1a add BSEARCH() macros in obt/bsearch.h that to a binary search on an array, use it when searching for a group in obt_paths_try_exec() 2010-03-29 23:24:15 -04:00