X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=isl_multi_templ.h;h=342d9a223159d5e85bd9bd1f3d34f13f9d24627c;hb=63fb8a7f484648c3caa25351c8c94ac2395ec563;hp=26282395f4633888603ac01ebda92cf4de50a7ff;hpb=8aa932ec87926e76c7db7e64b3c66807d623de92;p=platform%2Fupstream%2Fisl.git diff --git a/isl_multi_templ.h b/isl_multi_templ.h index 2628239..342d9a2 100644 --- a/isl_multi_templ.h +++ b/isl_multi_templ.h @@ -1,3 +1,5 @@ +#include + #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);