repo.or.cz
/
isl.git
/
commitdiff
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
raw
|
patch
|
inline
|
side by side
(parent:
ba1e801
)
isl_sample.c: zero_sample: add memory management annotations
author
Sven Verdoolaege
<skimo@kotnet.org>
Thu, 28 Jul 2016 08:30:36 +0000
(28 10:30 +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
a255da1
..
38f2c41
100644
(file)
--- a/
isl_sample.c
+++ b/
isl_sample.c
@@
-37,7
+37,7
@@
static __isl_give isl_vec *empty_sample(__isl_take isl_basic_set *bset)
* As a special case, if bset is zero-dimensional, this
* function creates a zero-dimensional sample point.
*/
-static
struct isl_vec *zero_sample(struct
isl_basic_set *bset)
+static
__isl_give isl_vec *zero_sample(__isl_take
isl_basic_set *bset)
{
unsigned dim;
struct isl_vec *sample;