add isl_aff_mod_val
[platform/upstream/isl.git] / isl_multi_templ.h
index 2628239..342d9a2 100644 (file)
@@ -1,3 +1,5 @@
+#include <isl/space.h>
+
 #define xCAT(A,B) A ## B
 #define CAT(A,B) xCAT(A,B)
 #undef EL
@@ -13,8 +15,4 @@ struct MULTI(BASE) {
        EL *p[1];
 };
 
-#define ISL_DECLARE_MULTI_PRIVATE(BASE)                                        \
-__isl_give isl_multi_##BASE *isl_multi_##BASE##_alloc(                 \
-       __isl_take isl_space *space);
-
-ISL_DECLARE_MULTI_PRIVATE(aff)
+__isl_give MULTI(BASE) *CAT(MULTI(BASE),_alloc)(__isl_take isl_space *space);