isl_basic_set_opt: avoid invalid access on error path
[platform/upstream/isl.git] / isl_point_private.h
index fbf1ee9..305b81e 100644 (file)
@@ -1,12 +1,12 @@
-#include <isl_dim.h>
-#include <isl_point.h>
-#include <isl_vec.h>
+#include <isl/space.h>
+#include <isl/point.h>
+#include <isl/vec.h>
 
 struct isl_point {
        int             ref;
-       struct isl_dim  *dim;
+       isl_space       *dim;
        struct isl_vec  *vec;
 };
 
-__isl_give isl_point *isl_point_alloc(__isl_take isl_dim *dim,
+__isl_give isl_point *isl_point_alloc(__isl_take isl_space *dim,
        __isl_take isl_vec *vec);