#include <stdio.h>#include "epDefs.h"#include "epStack.h"#include "epList.h"Include dependency graph for epStack.c:

Go to the source code of this file.
Functions | |
| epStack_t* | epStack_create (int (*elementDeallocatorFunction)(void *elt)) |
| int | epStack_destroy (epStack_t *stack) |
| int | epStack_push (epStack_t *stack, const void *elt) |
| void* | epStack_pop (epStack_t *stack) |
| int | epStack_size (epStack_t *stack) |
| boolean_t | epStack_isEmpty (epStack_t *stack) |
| int | epStack_setElementPrintFunction ( epStack_t *stack, char *(*elementPrintFunction)(void *elt)) |
| int | epStack_printIt (epStack_t *stack, char *title) |
Definition in file epStack.c.
|
|
Create & initialize a new stack. visibility :: public
|
|
|
Destroy the stack and all the elements contained into. visibility :: public
|
|
|
Return <true> if the stack is empty, <false> else. visibility :: public
|
|
|
Return and remove-from the element on the top of the stack. visibility :: public
|
|
|
Print the content of the stack (its parameters and all its elements). visibility :: public
|
|
|
Insert a new element on top of the stack. visibility :: public
|
|
|
Initialize the elementPrintFunction for the use of the printIt function. visibility :: public
|
|
|
Return the size of the stack (the number of its elements). visibility :: public
|
1.2.1 written by Dimitri van Heesch,
© 1997-2000