summaryrefslogtreecommitdiff
path: root/isl_list_templ.h
diff options
context:
space:
mode:
authorSven Verdoolaege <skimo@kotnet.org>2013-03-27 12:09:23 +0100
committerSven Verdoolaege <skimo@kotnet.org>2013-04-22 09:38:20 +0200
commit3e27dfa1440571ecd60acd92dbf819cafbeb701f (patch)
tree4b8e8a63397dbfff08071beb56cf6dc385482289 /isl_list_templ.h
parent60e4f6aa75ab6d211320e31272678b40c12c618e (diff)
downloadisl-3e27dfa1440571ecd60acd92dbf819cafbeb701f.tar.gz
isl-3e27dfa1440571ecd60acd92dbf819cafbeb701f.tar.bz2
isl-3e27dfa1440571ecd60acd92dbf819cafbeb701f.zip
declare isl_*_list together with isl_*
Some of the isl_*_list types were declared together in isl/list.h. It seems cleaner to declare them together with the corresponding isl_* instead. Similarly, these types were defined together in isl_list_private.h and are now defined together with the corresponding isl_*. Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
Diffstat (limited to 'isl_list_templ.h')
-rw-r--r--isl_list_templ.h10
1 files changed, 1 insertions, 9 deletions
diff --git a/isl_list_templ.h b/isl_list_templ.h
index 9c60f5a3..893f9d91 100644
--- a/isl_list_templ.h
+++ b/isl_list_templ.h
@@ -13,12 +13,4 @@ struct LIST(EL) {
struct EL *p[1];
};
-#define ISL_DECLARE_LIST_PRIVATE(EL) \
-__isl_give isl_##EL##_list *isl_##EL##_list_dup( \
- __isl_keep isl_##EL##_list *list);
-
-ISL_DECLARE_LIST_PRIVATE(basic_set)
-ISL_DECLARE_LIST_PRIVATE(set)
-ISL_DECLARE_LIST_PRIVATE(aff)
-ISL_DECLARE_LIST_PRIVATE(pw_aff)
-ISL_DECLARE_LIST_PRIVATE(band)
+__isl_give LIST(EL) *FN(LIST(EL),dup)(__isl_keep LIST(EL) *list);