X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fgl_oset.c;h=83f964e0ce57f3afb4d50b138cc9e375c38dd79c;hb=44d6eead9ba864662836a9f9d95913b4e0cb2a3b;hp=69ae2b6ce7772de3b37e2479748da252a0c5e55e;hpb=79b6b4a18153d33a2c795371c93b00afb201adac;p=gnulib.git diff --git a/lib/gl_oset.c b/lib/gl_oset.c index 69ae2b6ce..83f964e0c 100644 --- a/lib/gl_oset.c +++ b/lib/gl_oset.c @@ -47,6 +47,15 @@ gl_oset_search (gl_oset_t set, const void *elt) } 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);