Signed-off-by: Sven Verdoolaege <skimo@kotnet.org>
__isl_take isl_point *pnt,
enum isl_dim_type type, int pos, unsigned val);
+Other properties can be obtained using
+
+ isl_ctx *isl_point_get_ctx(__isl_keep isl_point *pnt);
+
Points can be copied or freed using
__isl_give isl_point *isl_point_copy(
struct isl_point;
typedef struct isl_point isl_point;
+isl_ctx *isl_point_get_ctx(__isl_keep isl_point *pnt);
+
__isl_give isl_point *isl_point_zero(__isl_take isl_dim *dim);
__isl_give isl_point *isl_point_copy(__isl_keep isl_point *pnt);
void isl_point_free(__isl_take isl_point *pnt);
#include <isl/seq.h>
#include <isl_dim_private.h>
+isl_ctx *isl_point_get_ctx(__isl_keep isl_point *pnt)
+{
+ return pnt ? isl_dim_get_ctx(pnt->dim) : NULL;
+}
+
__isl_give isl_point *isl_point_alloc(__isl_take isl_dim *dim,
__isl_take isl_vec *vec)
{