isl_basic_map_remove_dims: properly handle named or nested spaces
[isl.git] / isl_list_templ.h
bloba9599800c691eb2aeb7a0a54171d031363ea5ec8
1 #define xFN(TYPE,NAME) TYPE ## _ ## NAME
2 #define FN(TYPE,NAME) xFN(TYPE,NAME)
3 #define xLIST(EL) EL ## _list
4 #define LIST(EL) xLIST(EL)
6 struct LIST(EL) {
7 int ref;
8 isl_ctx *ctx;
10 int n;
12 size_t size;
13 struct EL *p[1];
16 #define ISL_DECLARE_LIST_PRIVATE(EL) \
17 __isl_give isl_##EL##_list *isl_##EL##_list_dup( \
18 __isl_keep isl_##EL##_list *list);
20 ISL_DECLARE_LIST_PRIVATE(basic_set)
21 ISL_DECLARE_LIST_PRIVATE(set)
22 ISL_DECLARE_LIST_PRIVATE(aff)
23 ISL_DECLARE_LIST_PRIVATE(band)