From 2a91af5ec2e23fc1d736ad136ae55aaf0045edf6 Mon Sep 17 00:00:00 2001 From: Sebastian Pop Date: Mon, 9 Jun 2008 13:11:46 -0500 Subject: [PATCH] fix formating. --- include/cloog/domain.h | 20 ++++++++++---------- include/cloog/program.h | 2 +- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/include/cloog/domain.h b/include/cloog/domain.h index 76e5bcc..33fb79f 100644 --- a/include/cloog/domain.h +++ b/include/cloog/domain.h @@ -107,44 +107,44 @@ static inline CloogDomainList *cloog_set_next_domain (CloogDomainList *l, CloogD return l->next = n; } -static inline Polyhedron * cloog_domain_polyhedron(CloogDomain * domain) +static inline Polyhedron * cloog_domain_polyhedron (CloogDomain * domain) { return domain->polyhedron ; } -static inline Polyhedron * cloog_domain_polyhedron_set(CloogDomain *d, - Polyhedron *p) +static inline Polyhedron * cloog_domain_polyhedron_set (CloogDomain *d, + Polyhedron *p) { return d->polyhedron = p ; } -static inline Polyhedron * cloog_polyhedron_next(Polyhedron *p) +static inline Polyhedron * cloog_polyhedron_next (Polyhedron *p) { return p->next ; } -static inline void cloog_polyhedron_set_next(Polyhedron *p, Polyhedron *n) +static inline void cloog_polyhedron_set_next (Polyhedron *p, Polyhedron *n) { p->next = n; } -static inline Polyhedron * cloog_domain_polyhedron_next(CloogDomain * domain) +static inline Polyhedron * cloog_domain_polyhedron_next (CloogDomain * domain) { return cloog_polyhedron_next (cloog_domain_polyhedron (domain)); } -static inline void cloog_domain_polyhedron_set_next(CloogDomain *d, - Polyhedron *n) +static inline void cloog_domain_polyhedron_set_next (CloogDomain *d, + Polyhedron *n) { cloog_polyhedron_set_next (cloog_domain_polyhedron (d), n) ; } -static inline int cloog_domain_nbconstraints(CloogDomain * domain) +static inline int cloog_domain_nbconstraints (CloogDomain * domain) { return domain->polyhedron->NbConstraints ; } -static inline int cloog_domain_isconvex(CloogDomain * domain) +static inline int cloog_domain_isconvex (CloogDomain * domain) { return !cloog_domain_polyhedron_next (domain); } diff --git a/include/cloog/program.h b/include/cloog/program.h index 419b39b..ac563c3 100644 --- a/include/cloog/program.h +++ b/include/cloog/program.h @@ -49,7 +49,7 @@ extern "C" /** * CloogProgram structure: * this structure contains all the informations of a program generated or to be - * generated. + * generated. Never access this structure directly: use the function interface below. */ struct cloogprogram { /* Basic program description fields. */ -- 2.11.4.GIT