X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pspp-builds.git;a=blobdiff_plain;f=src%2Flibpspp%2Frange-set.h;h=665447f697ecb24ab77fa614b55647667f791dc7;hp=83e5db6f8181d2097f14f60b88d3f1ed7b5800bc;hb=186db0c54bcb0caf4a6df1fcc60b8158bc11ab92;hpb=767a4e133dc7fc0f6e6b9cd8d115a4f5284f1a1b diff --git a/src/libpspp/range-set.h b/src/libpspp/range-set.h index 83e5db6f..665447f6 100644 --- a/src/libpspp/range-set.h +++ b/src/libpspp/range-set.h @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007, 2009 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -39,6 +39,8 @@ void range_set_delete (struct range_set *, unsigned long int start, unsigned long int width); bool range_set_allocate (struct range_set *, unsigned long int request, unsigned long int *start, unsigned long int *width); +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); bool range_set_is_empty (const struct range_set *);