add isl_aff_mod_val
[platform/upstream/isl.git] / isl_multi_templ.h
1 #include <isl/space.h>
2
3 #define xCAT(A,B) A ## B
4 #define CAT(A,B) xCAT(A,B)
5 #undef EL
6 #define EL CAT(isl_,BASE)
7 #define xMULTI(BASE) isl_multi_ ## BASE
8 #define MULTI(BASE) xMULTI(BASE)
9
10 struct MULTI(BASE) {
11         int ref;
12         isl_space *space;
13
14         int n;
15         EL *p[1];
16 };
17
18 __isl_give MULTI(BASE) *CAT(MULTI(BASE),_alloc)(__isl_take isl_space *space);