isl_basic_map_involves_dims: double-check divs
[isl.git] / isl_list_templ.h
blob9c60f5a3d46620e54a503bed38c825a3dad4a2f7
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(pw_aff)
24 ISL_DECLARE_LIST_PRIVATE(band)