X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fgl_oset.c;h=83f964e0ce57f3afb4d50b138cc9e375c38dd79c;hb=2354d5ead305b61c925e53bcfb73d47de7c53162;hp=a6733048bc3bac1d035ab9cf800ee0c96508285b;hpb=99099106c3c1cb16ed1e91be970332fe225e278b;p=gnulib.git diff --git a/lib/gl_oset.c b/lib/gl_oset.c index a6733048b..83f964e0c 100644 --- a/lib/gl_oset.c +++ b/lib/gl_oset.c @@ -46,7 +46,16 @@ gl_oset_search (gl_oset_t set, const void *elt) return ((const struct gl_oset_impl_base *) set)->vtable->search (set, elt); } -void +bool +gl_oset_search_atleast (gl_oset_t set, + gl_setelement_threshold_fn threshold_fn, + const void *threshold, const void **eltp) +{ + return ((const struct gl_oset_impl_base *) set)->vtable + ->search_atleast (set, threshold_fn, threshold, eltp); +} + +bool gl_oset_add (gl_oset_t set, const void *elt) { return ((const struct gl_oset_impl_base *) set)->vtable->add (set, elt);