projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
NPar two samples dialog and T-Test paired dialogs: Converted to PsppireDialogAction
[pspp]
/
src
/
libpspp
/
range-set.h
diff --git
a/src/libpspp/range-set.h
b/src/libpspp/range-set.h
index 5b79f0e6ddf213e26087dc20d1ee83dcb2d1f14b..64d888f7f2cc316b2259062369b3793b5c624137 100644
(file)
--- a/
src/libpspp/range-set.h
+++ b/
src/libpspp/range-set.h
@@
-67,6
+67,11
@@
unsigned long int range_set_scan (const struct range_set *,
static inline bool range_set_is_empty (const struct range_set *);
static inline bool range_set_is_empty (const struct range_set *);
+#define RANGE_SET_FOR_EACH(NODE, RANGE_SET) \
+ for ((NODE) = range_set_first (RANGE_SET); \
+ (NODE) != NULL; \
+ (NODE) = range_set_next (RANGE_SET, NODE))
+
static inline const struct range_set_node *range_set_first (
const struct range_set *);
static inline const struct range_set_node *range_set_next (
static inline const struct range_set_node *range_set_first (
const struct range_set *);
static inline const struct range_set_node *range_set_next (