From: Sven Verdoolaege Date: Fri, 1 Jul 2011 12:38:32 +0000 (+0200) Subject: split off declarations for isl_aff and isl_pw_aff to separate file X-Git-Tag: isl-0.07~41 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8b9c16295c1339493e32abb16e876428c724a143;hp=98f276f537c59a4af1787f415fd8545904931dee;p=platform%2Fupstream%2Fisl.git split off declarations for isl_aff and isl_pw_aff to separate file Signed-off-by: Sven Verdoolaege --- diff --git a/Makefile.am b/Makefile.am index 5bb1ba3..4b8501e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -189,6 +189,7 @@ nodist_pkginclude_HEADERS = \ include/isl/stdint.h pkginclude_HEADERS = \ include/isl/aff.h \ + include/isl/aff_type.h \ include/isl/arg.h \ include/isl/band.h \ include/isl/blk.h \ diff --git a/include/isl/aff.h b/include/isl/aff.h index 55c44c7..613bcb3 100644 --- a/include/isl/aff.h +++ b/include/isl/aff.h @@ -5,14 +5,12 @@ #include #include #include +#include #if defined(__cplusplus) extern "C" { #endif -struct isl_aff; -typedef struct isl_aff isl_aff; - __isl_give isl_aff *isl_aff_zero(__isl_take isl_local_space *ls); __isl_give isl_aff *isl_aff_copy(__isl_keep isl_aff *aff); @@ -85,9 +83,6 @@ __isl_give isl_printer *isl_printer_print_aff(__isl_take isl_printer *p, __isl_keep isl_aff *aff); void isl_aff_dump(__isl_keep isl_aff *aff); -struct isl_pw_aff; -typedef struct isl_pw_aff isl_pw_aff; - isl_ctx *isl_pw_aff_get_ctx(__isl_keep isl_pw_aff *pwaff); __isl_give isl_dim *isl_pw_aff_get_dim(__isl_keep isl_pw_aff *pwaff); diff --git a/include/isl/aff_type.h b/include/isl/aff_type.h new file mode 100644 index 0000000..549ec80 --- /dev/null +++ b/include/isl/aff_type.h @@ -0,0 +1,10 @@ +#ifndef ISL_AFF_TYPE_H +#define ISL_AFF_TYPE_H + +struct isl_aff; +typedef struct isl_aff isl_aff; + +struct isl_pw_aff; +typedef struct isl_pw_aff isl_pw_aff; + +#endif diff --git a/include/isl/constraint.h b/include/isl/constraint.h index 6bd554f..103d358 100644 --- a/include/isl/constraint.h +++ b/include/isl/constraint.h @@ -10,7 +10,7 @@ #ifndef ISL_CONSTRAINT_H #define ISL_CONSTRAINT_H -#include +#include #include #include #include diff --git a/include/isl/ilp.h b/include/isl/ilp.h index c760141..460aaed 100644 --- a/include/isl/ilp.h +++ b/include/isl/ilp.h @@ -10,7 +10,7 @@ #ifndef ISL_ILP_H #define ISL_ILP_H -#include +#include #include #if defined(__cplusplus) diff --git a/include/isl/map.h b/include/isl/map.h index c33eb28..67e15da 100644 --- a/include/isl/map.h +++ b/include/isl/map.h @@ -21,7 +21,7 @@ #include #include #include -#include +#include #include #include diff --git a/include/isl/polynomial.h b/include/isl/polynomial.h index 6027e14..85bc716 100644 --- a/include/isl/polynomial.h +++ b/include/isl/polynomial.h @@ -9,7 +9,7 @@ #include #include #include -#include +#include #if defined(__cplusplus) extern "C" { diff --git a/include/isl/set.h b/include/isl/set.h index 864e847..2eabc7d 100644 --- a/include/isl/set.h +++ b/include/isl/set.h @@ -11,7 +11,7 @@ #define ISL_SET_H #include -#include +#include #include #include #include diff --git a/isl_test.c b/isl_test.c index 653b833..a837054 100644 --- a/isl_test.c +++ b/isl_test.c @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include