polyhedron_sample.c: add missing include
[isl.git] / include / isl_blk.h
bloba0a01e0288c24fcdcf7d94f169090ee59d20ab62
1 #ifndef ISL_BLK_H
2 #define ISL_BLK_H
4 #include <isl_int.h>
6 #if defined(__cplusplus)
7 extern "C" {
8 #endif
10 struct isl_blk {
11 size_t size;
12 isl_int *data;
15 #define ISL_BLK_CACHE_SIZE 20
17 struct isl_ctx;
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);
27 #if defined(__cplusplus)
29 #endif
31 #endif