From 17e63ddd4fceb34a5f29eb32c2b18742a57aaf9b Mon Sep 17 00:00:00 2001 From: Sven Verdoolaege Date: Sat, 7 Jan 2017 21:59:48 +0100 Subject: [PATCH] isl_set_bounded_simple_hull: add memory management annotations Signed-off-by: Sven Verdoolaege --- include/isl/set.h | 2 +- isl_convex_hull.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/isl/set.h b/include/isl/set.h index dbd72bf8..c4e6e9b0 100644 --- a/include/isl/set.h +++ b/include/isl/set.h @@ -258,7 +258,7 @@ __isl_give isl_basic_set *isl_set_plain_unshifted_simple_hull( __isl_take isl_set *set); __isl_give isl_basic_set *isl_set_unshifted_simple_hull_from_set_list( __isl_take isl_set *set, __isl_take isl_set_list *list); -struct isl_basic_set *isl_set_bounded_simple_hull(struct isl_set *set); +__isl_give isl_basic_set *isl_set_bounded_simple_hull(__isl_take isl_set *set); struct isl_set *isl_set_union_disjoint( struct isl_set *set1, struct isl_set *set2); diff --git a/isl_convex_hull.c b/isl_convex_hull.c index 2b9aea7b..41964806 100644 --- a/isl_convex_hull.c +++ b/isl_convex_hull.c @@ -2988,7 +2988,7 @@ static struct isl_basic_set *set_bounds(struct isl_set *set, int dim) * resulting hull is bounded by a symbolic constant. If not, the * hull is intersected with the corresponding bounds on the whole set. */ -struct isl_basic_set *isl_set_bounded_simple_hull(struct isl_set *set) +__isl_give isl_basic_set *isl_set_bounded_simple_hull(__isl_take isl_set *set) { int i, j; struct isl_basic_set *hull; -- 2.11.4.GIT