From: Sven Verdoolaege Date: Mon, 16 Jul 2012 10:52:31 +0000 (+0200) Subject: isl_multi_templ.h: avoid reference to explicit element type X-Git-Tag: isl-0.11~147 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e889c30b752d2df153213d51050f870b8130fd0e;p=platform%2Fupstream%2Fisl.git isl_multi_templ.h: avoid reference to explicit element type This will make it easier to create additional isl_multi_* types. Signed-off-by: Sven Verdoolaege --- diff --git a/isl_multi_templ.h b/isl_multi_templ.h index 2628239..5a28219 100644 --- a/isl_multi_templ.h +++ b/isl_multi_templ.h @@ -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);