log
graph
tags
bookmarks
branches
changeset
browse
file
latest
diff
comparison
annotate
file log
raw
help
Mercurial
>
hg
>
plcrp
annotate utils.c @ 0:
b31415b4a196
Find changesets by keywords (author, files, the commit message), revision number or hash, or
revset expression
.
Initial check in.
author
samer
date
Fri, 20 Jan 2012 16:58:52 +0000
parents
children
rev
line source
samer@0
1
samer@0
2
static int alloc_array(size_t N, size_t SZ, void **PP) {
samer@0
3
*PP=calloc(N,SZ);
samer@0
4
if (*PP) return TRUE;
samer@0
5
else return memory_error(N*SZ);
samer@0
6
}
samer@0
7