Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
=head2 Lists
Lists are defined over several element types, including
=head2 Lists
Lists are defined over several element types, including
-C<isl_id>, 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_constraint>,
+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.
Here we take lists of C<isl_set>s as an example.
Lists can be created, copied, modified and freed using the following functions.
void isl_##EL##_list_dump(__isl_keep isl_##EL##_list *list);
ISL_DECLARE_LIST(id)
void isl_##EL##_list_dump(__isl_keep isl_##EL##_list *list);
ISL_DECLARE_LIST(id)
+ISL_DECLARE_LIST(constraint)
ISL_DECLARE_LIST(basic_set)
ISL_DECLARE_LIST(set)
ISL_DECLARE_LIST(aff)
ISL_DECLARE_LIST(basic_set)
ISL_DECLARE_LIST(set)
ISL_DECLARE_LIST(aff)
*/
#include <isl_list_private.h>
*/
#include <isl_list_private.h>
+#include <isl/constraint.h>
#include <isl/set.h>
#include <isl/aff.h>
#include <isl/band.h>
#undef BASE
#include <isl/set.h>
#include <isl/aff.h>
#include <isl/band.h>
#undef BASE
+#define BASE constraint
+
+#include <isl_list_templ.c>
+
+#undef BASE
#define BASE basic_set
#include <isl_list_templ.c>
#define BASE basic_set
#include <isl_list_templ.c>
#include <isl/list.h>
#undef EL
#include <isl/list.h>
#undef EL
+#define EL isl_constraint
+
+#include <isl_list_templ.h>
+
+#undef EL
#define EL isl_basic_set
#include <isl_list_templ.h>
#define EL isl_basic_set
#include <isl_list_templ.h>