util: introduce typesafe_bsearch() and typesafe_bsearch_r()
authorYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 18 Sep 2018 02:05:20 +0000 (11:05 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Tue, 18 Sep 2018 23:06:57 +0000 (08:06 +0900)
commitf0f6d791feee4ed4c34624228e6ced8a231b5811
tree3e296afceb9e0091701179bcbaa834ec4e0dbf00
parentba0a7bfb983305ac7f86db1e7bbfeb456e11bbd8
util: introduce typesafe_bsearch() and typesafe_bsearch_r()
src/basic/util.c
src/basic/util.h