2022-03-30 21:35:23 +00:00
|
|
|
#ifndef LIBFLINT_H_UTILITY
|
|
|
|
#define LIBFLINT_H_UTILITY
|
|
|
|
|
|
|
|
typedef struct Point {
|
|
|
|
int x;
|
|
|
|
int y;
|
|
|
|
} Point;
|
|
|
|
|
2023-11-29 22:01:41 +00:00
|
|
|
Point Point_new(int x, int y);
|
|
|
|
Point *Point_new_p(int x, int y);
|
|
|
|
int Point_cmp(Point a, Point b);
|
|
|
|
int Point_cmp_p(const Point *a, const Point *b);
|
|
|
|
int Point_cmp_v(const void *a, const void *b);
|
|
|
|
|
2022-03-30 21:35:23 +00:00
|
|
|
#endif // LIBFLINT_H_UTILITY
|