]> granicus.if.org Git - json-c/commit
add bsearch for arrays
authorAlexander Dahl <post@lespocky.de>
Thu, 21 Aug 2014 13:42:50 +0000 (15:42 +0200)
committerAlexander Dahl <post@lespocky.de>
Thu, 21 Aug 2014 13:42:50 +0000 (15:42 +0200)
commit2f5789bdef5c65b951db1add50b08028b0051c36
tree4cb30a8ce95dbac3f9f7dcefa5159ec7728695c5
parentd4e81f9ec8273914739808737fa0a27a3f0589fb
add bsearch for arrays

Arrays can already be sorted with json_object_array_sort() which uses
qsort() of the standard C library. This adds a counterpart using the
bsearch() from C.
arraylist.c
arraylist.h
json_object.c
json_object.h