isl_qpolynomial_* constructors: check dim before accessing fields
[isl.git] / isl_mat_private.h
blobde2cc205f6fa06551087097a51761a0d2dc97849
1 #include <isl/mat.h>
3 struct isl_mat {
4 int ref;
6 struct isl_ctx *ctx;
8 #define ISL_MAT_BORROWED (1 << 0)
9 unsigned flags;
11 unsigned n_row;
12 unsigned n_col;
14 isl_int **row;
16 /* actual size of the rows in memory; n_col <= max_col */
17 unsigned max_col;
19 struct isl_blk block;