Woolz Image Processing  Version 1.8.3
AlcFreeStack.c File Reference

A general purpose free stack which allows a single pointer to be used to keep a list of data to be free'd. More...

Data Structures

struct  _AlcFreeStack
 

Typedefs

typedef struct _AlcFreeStack AlcFreeStack
 

Functions

void * AlcFreeStackPush (void *prev, void *data, AlcErrno *dstErr)
 Push's the given pointer onto the free stack on top of the previous free stack pointer. More...
 
void * AlcFreeStackPop (void *prev, void **dstData, AlcErrno *dstErr)
 Pop's the top entry from the free stack. Returns a free stack pointer and set's the given destination pointer to the entry's data. The entry's data is NOT free'd. More...
 
AlcErrno AlcFreeStackFree (void *stack)
 Free's all entries on the given free stack. More...
 

Detailed Description

A general purpose free stack which allows a single pointer to be used to keep a list of data to be free'd.

Author
Bill Hill
Date
March 2000
Version
Id
18b64cb75152e79b2669998362bb59757961f907
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.

Typedef Documentation

◆ AlcFreeStack

typedef struct _AlcFreeStack AlcFreeStack