Mercurial > hg > plcrp
view utils.c @ 2:2c8a10d9e3cb
Switched to use_foreign_library/1.
author | samer |
---|---|
date | Fri, 24 Feb 2012 18:08:40 +0000 |
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); }