Mercurial > hg > plcrp
view utils.c @ 3:974d7be8eec4 tip
Update to pack-based dcg utilities
author | samer |
---|---|
date | Tue, 03 Oct 2017 11:52:23 +0100 |
parents | b31415b4a196 |
children |
line wrap: on
line source
static int alloc_array(size_t N, size_t SZ, void **PP) { *PP=calloc(N,SZ); if (*PP) return TRUE; else return memory_error(N*SZ); }