repo.or.cz
/
isl.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
isl_pw_templ.c: extract out shared isl_pw_*_check_named_params
[isl.git]
/
isl_list_templ.h
blob
893f9d91d4c8e04f443f45d084651f516b3ec83f
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
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
);