Mercurial > hg > plcrp
view utils.c @ 1:ed130acab5f1
Changed install default location to ~/lib/prolog/propr
author | samer |
---|---|
date | Thu, 26 Jan 2012 13:06:21 +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); }