projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
psppire-var-sheet: Hard-code size of pixbuf cells.
[pspp]
/
src
/
libpspp
/
range-set.c
diff --git
a/src/libpspp/range-set.c
b/src/libpspp/range-set.c
index ed7b3f5edb6a50f4220b8a3d9c372cdd05bdc373..fc02f3720f8128d638ef67e1d81100fb4f9fe781 100644
(file)
--- a/
src/libpspp/range-set.c
+++ b/
src/libpspp/range-set.c
@@
-106,8
+106,8
@@
range_set_destroy (struct range_set *rs)
/* Inserts the region starting at START and extending for WIDTH
into RS. */
void
/* Inserts the region starting at START and extending for WIDTH
into RS. */
void
-range_set_
insert
(struct range_set *rs,
-
unsigned long int start, unsigned long int width)
+range_set_
set1
(struct range_set *rs,
+ unsigned long int start, unsigned long int width)
{
unsigned long int end = start + width;
struct range_set_node *node;
{
unsigned long int end = start + width;
struct range_set_node *node;
@@
-152,11
+152,11
@@
range_set_insert (struct range_set *rs,
}
}
}
}
-/*
Insert
s the region starting at START and extending for WIDTH
+/*
Delete
s the region starting at START and extending for WIDTH
from RS. */
void
from RS. */
void
-range_set_
delete
(struct range_set *rs,
-
unsigned long int start, unsigned long int width)
+range_set_
set0
(struct range_set *rs,
+ unsigned long int start, unsigned long int width)
{
unsigned long int end = start + width;
struct range_set_node *node;
{
unsigned long int end = start + width;
struct range_set_node *node;