diff options
author | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2022-04-30 05:28:06 -0700 |
---|---|---|
committer | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2022-04-30 05:28:06 -0700 |
commit | 8921ce29627b45d78d1870d550418fc3d13dcdbe (patch) | |
tree | 1b5b37a317c93d55247ac3da719a8dcd8eaf072b /match.h | |
parent | fbdb393ae1e2ea5d368e4dda1577a10715e26a75 (diff) | |
download | dartboat-8921ce29627b45d78d1870d550418fc3d13dcdbe.tar.gz dartboat-8921ce29627b45d78d1870d550418fc3d13dcdbe.tar.xz |
grow memory for visits as needed
Diffstat (limited to 'match.h')
-rw-r--r-- | match.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -15,11 +15,12 @@ struct leg { char *name; int start; int rem; - int n_visits; + int n_visits, size_visits; struct visit *visits; }; struct leg *leg_init(int points, char *name); void leg_free(struct leg *l); +void leg_grow_visits(struct leg *l); #endif |