isl_basic_map_affine_hull: add memory management annotations
authorSven Verdoolaege <skimo@kotnet.org>
Mon, 12 Sep 2016 14:18:44 +0000 (12 16:18 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Mon, 24 Apr 2017 11:38:33 +0000 (24 13:38 +0200)
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
isl_affine_hull.c

index 74e47e6..a60a34c 100644 (file)
@@ -961,7 +961,8 @@ __isl_give isl_basic_set *isl_basic_set_plain_affine_hull(
  * equalities), we compute the additional equalities satisfied by
  * the integer points (if any) and add the original equalities back in.
  */
-struct isl_basic_map *isl_basic_map_affine_hull(struct isl_basic_map *bmap)
+__isl_give isl_basic_map *isl_basic_map_affine_hull(
+       __isl_take isl_basic_map *bmap)
 {
        bmap = isl_basic_map_detect_equalities(bmap);
        bmap = isl_basic_map_plain_affine_hull(bmap);