add isl_map_reaching_path_lengths
[isl.git] / include / isl_list.h
blob0385a8bbd288968873d45d090e46d698854851b1
1 /*
2 * Copyright 2008-2009 Katholieke Universiteit Leuven
4 * Use of this software is governed by the GNU LGPLv2.1 license
6 * Written by Sven Verdoolaege, K.U.Leuven, Departement
7 * Computerwetenschappen, Celestijnenlaan 200A, B-3001 Leuven, Belgium
8 */
10 #ifndef ISL_LIST_H
11 #define ISL_LIST_H
13 #include <isl_ctx.h>
15 struct isl_basic_set;
17 struct isl_basic_set_list {
18 int ref;
19 struct isl_ctx *ctx;
21 int n;
23 size_t size;
24 struct isl_basic_set *p[1];
27 struct isl_basic_set_list *isl_basic_set_list_alloc(struct isl_ctx *ctx, int n);
28 void isl_basic_set_list_free(struct isl_basic_set_list *list);
29 struct isl_basic_set_list *isl_basic_set_list_add(
30 struct isl_basic_set_list *list,
31 struct isl_basic_set *bset);
33 #endif