X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;f=isl_union_templ.c;h=cd55f4e910ec5f2f081a2d9b36899751a0e5b083;hb=ca90b151a05f17ccc1c3215ff24dc5d7b9198ff4;hp=f6f46e24d883cb26894cc1bd249634ce3c8fd417;hpb=056289f285e62c52cc59ee826172e4d3092ef3fe;p=platform%2Fupstream%2Fisl.git diff --git a/isl_union_templ.c b/isl_union_templ.c index f6f46e2..cd55f4e 100644 --- a/isl_union_templ.c +++ b/isl_union_templ.c @@ -465,6 +465,15 @@ error: return NULL; } +#ifndef NO_SUB +/* Subtract "u2" from "u1" and return the result. + */ +__isl_give UNION *FN(UNION,sub)(__isl_take UNION *u1, __isl_take UNION *u2) +{ + return match_bin_op(u1, u2, &FN(PART,sub)); +} +#endif + S(UNION,any_set_data) { isl_set *set; UNION *res;