blob: c0a436649e9b45a1f1868b2a71929df68efdd155 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
/* ISC license. */
#include <skalibs/stralloc.h>
#include <skalibs/genalloc.h>
#include <skalibs/gensetdyn.h>
void gensetdyn_free (gensetdyn_ref g)
{
stralloc_free(&g->storage) ;
genalloc_free(unsigned int, &g->freelist) ;
*g = gensetdyn_zero ;
}
|