another memory leak
[barvinok.git] / barvinok.h
blobf1e233b4e340fa4377cdf17eac629983facf1a6e
1 #ifndef BARVINOK_H
2 #define BARVINOK_H
4 #include <gmp.h>
6 #if defined(__cplusplus)
7 extern "C" {
8 #endif
10 #include <polylib/polylibgmp.h>
12 void barvinok_decompose(Polyhedron *C, Polyhedron **ppos, Polyhedron **pneg);
13 void barvinok_count(Polyhedron *P, Value* result, unsigned NbMaxCons);
14 Enumeration* barvinok_enumerate(Polyhedron *P, Polyhedron* C, unsigned MaxRays);
15 evalue* barvinok_enumerate_e(Polyhedron *P,
16 unsigned exist, unsigned nparam, unsigned MaxRays);
18 #ifdef USE_MODULO
19 evalue* ceil3(Value *coef, int len, Value d);
20 #endif
22 #if defined(__cplusplus)
24 #endif
26 #endif