privately export isl_basic_map_fast_cmp and isl_basic_map_fast_is_equal
[platform/upstream/isl.git] / include / isl_point.h
1 #ifndef ISL_POINT_H
2 #define ISL_POINT_H
3
4 #include <stdio.h>
5
6 #if defined(__cplusplus)
7 extern "C" {
8 #endif
9
10 struct isl_point;
11 typedef struct isl_point isl_point;
12
13 __isl_give isl_point *isl_point_zero(__isl_take isl_dim *dim);
14 __isl_give isl_point *isl_point_copy(__isl_keep isl_point *pnt);
15 void isl_point_free(__isl_take isl_point *pnt);
16
17 void isl_point_get_coordinate(__isl_keep isl_point *pnt,
18         enum isl_dim_type type, int pos, isl_int *v);
19 __isl_give isl_point *isl_point_set_coordinate(__isl_take isl_point *pnt,
20         enum isl_dim_type type, int pos, isl_int v);
21
22 __isl_give isl_point *isl_point_add_ui(__isl_take isl_point *pnt,
23         enum isl_dim_type type, int pos, unsigned val);
24 __isl_give isl_point *isl_point_sub_ui(__isl_take isl_point *pnt,
25         enum isl_dim_type type, int pos, unsigned val);
26
27 __isl_give isl_point *isl_point_void(__isl_take isl_dim *dim);
28 int isl_point_is_void(__isl_keep isl_point *pnt);
29
30 void isl_point_print(__isl_keep isl_point *pnt, FILE *out);
31
32 #if defined(__cplusplus)
33 }
34 #endif
35
36 #endif