Woolz Image Processing  Version 1.8.3
AlcBlockStack.c File Reference

A general purpose memory block allocator. Blocks are allocated and stored in on a stack. More...

Functions

AlcBlockStackAlcBlockStackNew (size_t nElem, size_t elmSz, AlcBlockStack *tBlk, AlcErrno *dstErr)
 Creates a new memory block with the required number of elements and adds it to the stack of existing blocks. More...
 
AlcErrno AlcBlockStackFree (AlcBlockStack *blk)
 Free's the given block and it's elements together with all those below it in the stack. It's not an error for a block's elements pointer to be NULL. More...
 

Detailed Description

A general purpose memory block allocator. Blocks are allocated and stored in on a stack.

Author
Bill Hill
Date
November 1999
Version
Id
47e327931d3f2b90ce3d237072d45caef758d6d1
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.