comparison 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
comparison
equal deleted inserted replaced
-1:000000000000 0:be303a3f5ea8
1 #ifndef COORD_H
2 #define COORD_H
3
4 struct coord {
5 int x;
6 int y;
7 };
8
9 struct coords {
10 int count;
11 int max;
12 struct coord *values;
13 };
14
15 struct coords *alloc_coords(int n);
16 void free_coords(struct coords *c);
17 int init_coords(struct coords *c, int n);
18 int add_coord(struct coords *c, int x, int y);
19
20 #endif

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