Mercurial > hg > wm
view Meerwald/coord.h @ 23:71dd4b96221b
fix some compiler warning
author | Peter Meerwald-Stadler <pmeerw@pmeerw.net> |
---|---|
date | Fri, 20 Dec 2024 12:53:41 +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