From fbf87bef9f062f900365c75e5dbe334f711db462 Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Thu, 8 Sep 2011 14:43:42 +0200 Subject: [PATCH] add isl_pw_*_get_tuple_id Signed-off-by: Sven Verdoolaege --- isl_pw_templ.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/isl_pw_templ.c b/isl_pw_templ.c index 474b31ab..212d8a08 100644 --- a/isl_pw_templ.c +++ b/isl_pw_templ.c @@ -178,6 +178,11 @@ 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; } +__isl_give isl_id *FN(PW,get_tuple_id)(__isl_keep PW *pw, enum isl_dim_type type) +{ + return pw ? isl_space_get_tuple_id(pw->dim, type) : NULL; +} + int FN(PW,IS_ZERO)(__isl_keep PW *pw) { if (!pw) -- 2.11.4.GIT