From e889c30b752d2df153213d51050f870b8130fd0e Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Mon, 16 Jul 2012 12:52:31 +0200 Subject: [PATCH] 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 --- isl_multi_templ.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/isl_multi_templ.h b/isl_multi_templ.h index 26282395..5a282193 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); -- 2.11.4.GIT