isl_local_space_get_space: extract out isl_local_space_peek_space
[isl.git] / isl_list_templ.h
blob893f9d91d4c8e04f443f45d084651f516b3ec83f
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 __isl_give LIST(EL) *FN(LIST(EL),dup)(__isl_keep LIST(EL) *list);