Woolz Image Processing  Version 1.7.5
AlcAlloc.c File Reference

Provides functions for basic storage allocation. In their most basic form are simple wrappers for the ANSI functions malloc(3), calloc(3), realloc(3) and free(3) but they may be used to encapsulate more complex allocation such as for persistant storage. More...

Functions

void * AlcCalloc (size_t elCount, size_t elSz)
 Allocates space for the given number of elements with each element set to zero. At it's most basic this function is a wrapper for calloc(3). More...
 
void * AlcMalloc (size_t byteCount)
 Allocates space for the given number of bytes with each each element left an undefined value. More...
 
void * AlcRealloc (void *givenData, size_t byteCount)
 Re-allocates space for the given number of bytes with the contents of given data being unchanged. More...
 
void AlcFree (void *data)
 Free's the given storage. More...
 

Detailed Description

Provides functions for basic storage allocation. In their most basic form are simple wrappers for the ANSI functions malloc(3), calloc(3), realloc(3) and free(3) but they may be used to encapsulate more complex allocation such as for persistant storage.

Author
Bill Hill
Date
March 1999
Version
Id
fa4ab5a7207eb251bbaaede00313e0a45dadb97e
Address: MRC Human Genetics Unit, MRC Institute of Genetics and Molecular Medicine, University of Edinburgh, Western General Hospital, Edinburgh, EH4 2XU, UK.
Copyright (C), [2012], The University Court of the University of Edinburgh, Old College, Edinburgh, UK.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.