isl_solve_lp: optionally return solution point
[platform/upstream/isl.git] / include / isl_blk.h
1 #ifndef ISL_BLK_H
2 #define ISL_BLK_H
3
4 #include <isl_int.h>
5
6 #if defined(__cplusplus)
7 extern "C" {
8 #endif
9
10 struct isl_blk {
11         size_t size;
12         isl_int *data;
13 };
14
15 #define ISL_BLK_CACHE_SIZE      20
16
17 struct isl_ctx;
18
19 struct isl_blk isl_blk_alloc(struct isl_ctx *ctx, size_t n);
20 struct isl_blk isl_blk_empty();
21 int isl_blk_is_error(struct isl_blk block);
22 struct isl_blk isl_blk_extend(struct isl_ctx *ctx, struct isl_blk block,
23                                 size_t new_n);
24 void isl_blk_free(struct isl_ctx *ctx, struct isl_blk block);
25 void isl_blk_clear_cache(struct isl_ctx *ctx);
26
27 #if defined(__cplusplus)
28 }
29 #endif
30
31 #endif