add isl_aff_list
authorSven Verdoolaege <skimo@kotnet.org>
Sat, 16 Apr 2011 17:50:54 +0000 (19:50 +0200)
committerSven Verdoolaege <skimo@kotnet.org>
Sat, 4 Jun 2011 11:19:23 +0000 (13:19 +0200)
Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
doc/user.pod
include/isl/list.h
isl_list.c
isl_list_private.h

index f6b92d3..20a3c2e 100644 (file)
@@ -2004,7 +2004,7 @@ In case of union relations, the optimum is computed per space.
 =head2 Lists
 
 Lists are defined over several element types, including
-C<isl_basic_set> and C<isl_set>.
+C<isl_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.
 
index 5deb2b6..44fbd67 100644 (file)
@@ -41,6 +41,7 @@ void isl_##EL##_list_dump(__isl_keep isl_##EL##_list *list);
 
 ISL_DECLARE_LIST(basic_set)
 ISL_DECLARE_LIST(set)
+ISL_DECLARE_LIST(aff)
 
 #if defined(__cplusplus)
 }
index c6aeffc..fefed4c 100644 (file)
@@ -9,6 +9,7 @@
 
 #include <isl_list_private.h>
 #include <isl/set.h>
+#include <isl/aff.h>
 
 #undef BASE
 #define BASE basic_set
@@ -19,3 +20,8 @@
 #define BASE set
 
 #include <isl_list_templ.c>
+
+#undef BASE
+#define BASE aff
+
+#include <isl_list_templ.c>
index 3b13b06..517d262 100644 (file)
@@ -13,4 +13,9 @@
 
 #include <isl_list_templ.h>
 
+#undef EL
+#define EL isl_aff
+
+#include <isl_list_templ.h>
+
 #endif