![]() |
calloc_throw | Function* (tigcc.a) |
alloc.h |
void *calloc_throw (unsigned short NoOfItems, unsigned short SizeOfItems); |
Performs calloc, and throws an error if not successful.
calloc_throw calls calloc and throws a memory error if there is not enough memory. Otherwise, it returns a pointer to the allocated block.