From: Sven Verdoolaege Date: Tue, 30 Nov 2010 15:32:04 +0000 (+0100) Subject: hide isl_set internals X-Git-Tag: isl-0.05~27 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8e85358f49c6a1d2034e88453640f1c1091207e2;p=platform%2Fupstream%2Fisl.git hide isl_set internals Signed-off-by: Sven Verdoolaege --- diff --git a/include/isl/set.h b/include/isl/set.h index 50914c2..4d1a8c6 100644 --- a/include/isl/set.h +++ b/include/isl/set.h @@ -18,26 +18,6 @@ extern "C" { #endif -/* A "set" is a (possibly disjoint) union of basic sets. - * - * See the documentation of isl_map. - */ -struct isl_set { - int ref; -#define ISL_SET_DISJOINT (1 << 0) -#define ISL_SET_NORMALIZED (1 << 1) - unsigned flags; - - struct isl_ctx *ctx; - - struct isl_dim *dim; - - int n; - - size_t size; - struct isl_basic_set *p[1]; -}; - unsigned isl_basic_set_n_dim(const struct isl_basic_set *bset); unsigned isl_basic_set_n_param(const struct isl_basic_set *bset); unsigned isl_basic_set_total_dim(const struct isl_basic_set *bset); diff --git a/isl_map_private.h b/isl_map_private.h index 0417d59..9531fc0 100644 --- a/isl_map_private.h +++ b/isl_map_private.h @@ -94,6 +94,26 @@ struct isl_basic_set { struct isl_blk block2; }; +/* A "set" is a (possibly disjoint) union of basic sets. + * + * See the documentation of isl_map. + */ +struct isl_set { + int ref; +#define ISL_SET_DISJOINT (1 << 0) +#define ISL_SET_NORMALIZED (1 << 1) + unsigned flags; + + struct isl_ctx *ctx; + + struct isl_dim *dim; + + int n; + + size_t size; + struct isl_basic_set *p[1]; +}; + __isl_give isl_map *isl_map_realign(__isl_take isl_map *map, __isl_take isl_reordering *r); __isl_give isl_set *isl_set_realign(__isl_take isl_set *set,