f46a0f118221e81a69b6c2383c779801c9088c9f
[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 #include <isl_ctx.h>
6
7 #if defined(__cplusplus)
8 extern "C" {
9 #endif
10
11 struct isl_blk {
12         size_t size;
13         isl_int *data;
14 };
15
16 struct isl_blk isl_blk_alloc(struct isl_ctx *ctx, size_t n);
17 struct isl_blk isl_blk_extend(struct isl_ctx *ctx, struct isl_blk block,
18                                 size_t new_n);
19 void isl_blk_free(struct isl_ctx *ctx, struct isl_blk block);
20
21 #if defined(__cplusplus)
22 }
23 #endif
24
25 #endif