isl_multi_templ.h: avoid reference to explicit element type
authorSven Verdoolaege <skimo@kotnet.org>
Mon, 16 Jul 2012 10:52:31 +0000 (12:52 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Tue, 18 Sep 2012 12:59:01 +0000 (14:59 +0200)
This will make it easier to create additional isl_multi_* types.

Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_multi_templ.h

index 2628239..5a28219 100644 (file)
@@ -13,8 +13,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);