Mercurial > hg > wm
view Meerwald-dir/coord.h @ 24:9f20bce6184e v0.7
move directories, support netpbm 11
| author | Peter Meerwald-Stadler <pmeerw@pmeerw.net> |
|---|---|
| date | Fri, 20 Dec 2024 13:08:59 +0100 |
| parents | Meerwald/coord.h@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
