home · contact · privacy
Moved basic yx_uint16 handling into its own library.
[plomrogue] / src / yx_uint16.c
1 #include "stdint.h"
2 #include "yx_uint16.h"
3
4 extern char yx_uint16_cmp (struct yx_uint16 a, struct yx_uint16 b) {
5 // Compare two coordinates of type yx_uint16.
6   if (a.y == b.y && a.x == b.x) return 1;
7   else                          return 0; }
8