]> icculus.org git repositories - dana/openbox.git/commit
Add another BSEARCH function that lets you search through an array of objects.
authorDana Jansens <danakj@orodu.net>
Thu, 27 Jan 2011 22:23:47 +0000 (17:23 -0500)
committerDana Jansens <danakj@orodu.net>
Sun, 30 Sep 2012 15:23:55 +0000 (11:23 -0400)
commit6388d7e4f5803a0acf28a025f4873712e493bbe8
tree9f6b878a5cc82ccb1351d66dbd53b7bfd2d141f6
parent2c45b83714ad6060ac0ce8bf4f7db20202c5436d
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.
obt/bsearch.h
obt/paths.c