Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
=head2 Lists
Lists are defined over several element types, including
-C<isl_aff>, C<isl_basic_set> and C<isl_set>.
+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 and freed using the following functions.
ISL_DECLARE_LIST(basic_set)
ISL_DECLARE_LIST(set)
ISL_DECLARE_LIST(aff)
+ISL_DECLARE_LIST(pw_aff)
ISL_DECLARE_LIST(band)
#if defined(__cplusplus)
#include <isl_list_templ.c>
#undef BASE
+#define BASE pw_aff
+
+#include <isl_list_templ.c>
+
+#undef BASE
#define BASE band
#include <isl_list_templ.c>
#include <isl_list_templ.h>
#undef EL
+#define EL isl_pw_aff
+
+#include <isl_list_templ.h>
+
+#undef EL
#define EL isl_band
#include <isl_list_templ.h>
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)