xref: /llvm-project/polly/lib/External/isl/isl_list_templ.h (revision 52a25237d894fd5736a90f11df2c5c9391d13fd5)
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)
5 
LIST(EL)6 struct LIST(EL) {
7 	int ref;
8 	isl_ctx *ctx;
9 
10 	int n;
11 
12 	size_t size;
13 	struct EL *p[1];
14 };
15 
16 __isl_give LIST(EL) *FN(LIST(EL),dup)(__isl_keep LIST(EL) *list);
17