File: isl_list_templ.h

package info (click to toggle)
isl 0.20-2
  • links: PTS
  • area: main
  • in suites: buster, sid
  • size: 12,708 kB
  • sloc: ansic: 125,702; python: 5,770; sh: 4,291; cpp: 1,057; makefile: 497; lisp: 54; perl: 9
file content (16 lines) | stat: -rw-r--r-- 291 bytes parent folder | download | duplicates (25)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#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);