add support for generating ASTs from schedule relations
[isl.git] / isl_multi_templ.h
blob5a2821931bab8bcae44b8a5cd644bac461994936
1 #define xCAT(A,B) A ## B
2 #define CAT(A,B) xCAT(A,B)
3 #undef EL
4 #define EL CAT(isl_,BASE)
5 #define xMULTI(BASE) isl_multi_ ## BASE
6 #define MULTI(BASE) xMULTI(BASE)
8 struct MULTI(BASE) {
9 int ref;
10 isl_space *space;
12 int n;
13 EL *p[1];
16 __isl_give MULTI(BASE) *CAT(MULTI(BASE),_alloc)(__isl_take isl_space *space);