Add the g_lookup_related() and g_search_related() functions.
authorDana Jansens <danakj@orodu.net>
Wed, 28 Oct 2009 20:05:44 +0000 (16:05 -0400)
committerDana Jansens <danakj@orodu.net>
Wed, 25 Nov 2009 17:01:11 +0000 (12:01 -0500)
commitacc3d292dd50d6b89dd7c93058478f65f782c08f
treee464dc67abc893f4bcaaad3975cad0b359ed16c5
parent827194e472e5df85f1eeae6b8f7d48d6f27127fb
Add the g_lookup_related() and g_search_related() functions.

These functions search in a GTree for a key, and can return the next
larger/smaller key instead if the search key is not found.
glib/gtree.c
glib/gtree.h
tests/tree-test.c