libflint/include/lfutility.h

16 lines
334 B
C
Raw Normal View History

#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);
#endif // LIBFLINT_H_UTILITY