X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Flibpspp%2Frange-set.h;h=3b7d04f4883710530b894a0f03e48fe7e60be39a;hb=f726e96e846a133b6493fb017668d4cf4795f737;hp=bc7c81c889371d9cfc8a2222b14dcc53d820e288;hpb=e8b19bfb4e94185514f3e22d92da41cb4581b115;p=pspp-builds.git diff --git a/src/libpspp/range-set.h b/src/libpspp/range-set.h index bc7c81c8..3b7d04f4 100644 --- a/src/libpspp/range-set.h +++ b/src/libpspp/range-set.h @@ -61,6 +61,8 @@ bool range_set_allocate (struct range_set *, unsigned long int request, bool range_set_allocate_fully (struct range_set *, unsigned long int request, unsigned long int *start); bool range_set_contains (const struct range_set *, unsigned long int position); +unsigned long int range_set_scan (const struct range_set *, + unsigned long int start); static inline bool range_set_is_empty (const struct range_set *);