Mercurial > hg > wm
view Meerwald/coord.h @ 22:d8551fb39a5e default tip
Added tag v0.6 for changeset 1c4ccd635a68
author | Peter Meerwald-Stadler <pmeerw@pmeerw.net> |
---|---|
date | Sat, 28 Jan 2023 23:57:51 +0100 |
parents | be303a3f5ea8 |
children |
line wrap: on
line source
#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