From: Sven Verdoolaege Date: Thu, 25 Aug 2011 10:09:18 +0000 (+0200) Subject: add isl_pw_*_get_tuple_name X-Git-Tag: isl-0.08~50 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=253dd5a84fa9ae2ef5a3fc27169e32ebcd0f8a8d;p=platform%2Fupstream%2Fisl.git add isl_pw_*_get_tuple_name Signed-off-by: Sven Verdoolaege --- diff --git a/isl_pw_templ.c b/isl_pw_templ.c index c1200b9..474b31a 100644 --- a/isl_pw_templ.c +++ b/isl_pw_templ.c @@ -173,6 +173,11 @@ void *FN(PW,free)(__isl_take PW *pw) return NULL; } +const char *FN(PW,get_tuple_name)(__isl_keep PW *pw, enum isl_dim_type type) +{ + return pw ? isl_space_get_tuple_name(pw->dim, type) : NULL; +} + int FN(PW,IS_ZERO)(__isl_keep PW *pw) { if (!pw)