mirror of
https://review.haiku-os.org/buildtools
synced 2024-11-23 15:29:11 +01:00
0b514caa50
Moving it inside gcc dir allows gcc to detect and build isl while building gcc. It has dependencies on other libraries that would need to be prebuilt if we build it ourselves. This is one of a few steps in building gcc with isl and allowing graphite optimization flags.
17 lines
291 B
C
17 lines
291 B
C
#define xFN(TYPE,NAME) TYPE ## _ ## NAME
|
|
#define FN(TYPE,NAME) xFN(TYPE,NAME)
|
|
#define xLIST(EL) EL ## _list
|
|
#define LIST(EL) xLIST(EL)
|
|
|
|
struct LIST(EL) {
|
|
int ref;
|
|
isl_ctx *ctx;
|
|
|
|
int n;
|
|
|
|
size_t size;
|
|
struct EL *p[1];
|
|
};
|
|
|
|
__isl_give LIST(EL) *FN(LIST(EL),dup)(__isl_keep LIST(EL) *list);
|