hide isl_set internals
authorSven Verdoolaege <skimo@kotnet.org>
Tue, 30 Nov 2010 15:32:04 +0000 (16:32 +0100)
committerSven Verdoolaege <skimo@kotnet.org>
Wed, 1 Dec 2010 22:42:59 +0000 (23:42 +0100)
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
include/isl/set.h
isl_map_private.h

index 50914c2..4d1a8c6 100644 (file)
 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);
index 0417d59..9531fc0 100644 (file)
@@ -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,