scheduler.c: use isl_bool enum instead of plain integers
[isl.git] / isl_multi_templ.h
blobe82f057681db8d2e7580937f22f25f6e29100141
1 #include <isl/space.h>
3 #include <isl_multi_macro.h>
5 /* A multiple expression with base expressions of type EL.
7 * "space" is the space in which the multiple expression lives.
8 * "n" is the number of base expression and is equal
9 * to the output or set dimension of "space".
10 * "p" is an array of size "n" of base expressions.
11 * The array is only accessible when n > 0.
12 * "dom" is the explicit domain, if present
13 * The explicit domain is only accessible when n == 0.
15 struct MULTI(BASE) {
16 int ref;
17 isl_space *space;
19 int n;
20 struct {
21 #ifdef EXPLICIT_DOMAIN
22 DOM *dom;
23 #endif
24 EL *p[1];
25 } u;
28 __isl_give MULTI(BASE) *CAT(MULTI(BASE),_alloc)(__isl_take isl_space *space);
30 #ifdef EXPLICIT_DOMAIN
31 isl_bool CAT(MULTI(BASE),_has_non_trivial_domain)(
32 __isl_keep MULTI(BASE) *multi);
33 #endif