repo.or.cz
/
isl.git
/
commitdiff
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
raw
|
patch
|
inline
|
side by side
(parent:
9f721d2
)
isl_sample.c: plug_in: add memory management annotations
author
Sven Verdoolaege
<skimo@kotnet.org>
Thu, 28 Jul 2016 09:10:35 +0000
(28 11:10 +0200)
committer
Sven 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_sample.c
patch
|
blob
|
blame
|
history
diff --git
a/isl_sample.c
b/isl_sample.c
index
5f13800
..
81c9e74
100644
(file)
--- a/
isl_sample.c
+++ b/
isl_sample.c
@@
-672,8
+672,8
@@
error:
* where [1 s] is the sample value and I is the identity matrix of the
* appropriate dimension.
*/
-static
struct isl_basic_set *plug_in(struct
isl_basic_set *bset,
-
struct
isl_vec *sample)
+static
__isl_give isl_basic_set *plug_in(__isl_take
isl_basic_set *bset,
+
__isl_take
isl_vec *sample)
{
int i;
unsigned total;