Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
@@ -2812,7 +2812,7 @@ returning a basic set or relation.
=head2 Lists
Lists are defined over several element types, including
-C<isl_aff>, C<isl_pw_aff>, C<isl_basic_set> and C<isl_set>.
+C<isl_id>, C<isl_aff>, C<isl_pw_aff>, C<isl_basic_set> and C<isl_set>.
Here we take lists of C<isl_set>s as an example.
Lists can be created, copied, modified and freed using the following functions.
@@ -47,6 +47,7 @@ __isl_give isl_printer *isl_printer_print_##EL##_list( \
__isl_take isl_printer *p, __isl_keep isl_##EL##_list *list); \
void isl_##EL##_list_dump(__isl_keep isl_##EL##_list *list);
+ISL_DECLARE_LIST(id)
ISL_DECLARE_LIST(basic_set)
ISL_DECLARE_LIST(set)
ISL_DECLARE_LIST(aff)
#define BASE band
#include <isl_list_templ.c>
+
+#undef BASE
+#define BASE id
+
+#include <isl_list_templ.c>
#include <isl_list_templ.h>
+#undef EL
+#define EL isl_id
+
+#include <isl_list_templ.h>
+
#endif