diff Meerwald/coord.h @ 0:be303a3f5ea8

import
author Peter Meerwald <pmeerw@cosy.sbg.ac.at>
date Sun, 12 Aug 2007 13:14:34 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Meerwald/coord.h	Sun Aug 12 13:14:34 2007 +0200
@@ -0,0 +1,20 @@
+#ifndef COORD_H
+#define COORD_H
+
+struct coord {
+  int x;
+  int y;
+};
+
+struct coords {
+  int count;
+  int max;
+  struct coord *values;
+};
+
+struct coords *alloc_coords(int n);
+void free_coords(struct coords *c);
+int init_coords(struct coords *c, int n);
+int add_coord(struct coords *c, int x, int y);
+
+#endif

Repositories maintained by Peter Meerwald, pmeerw@pmeerw.net.