Main Page | Modules | Data Structures | Directories | File List | Data Fields | Globals | Related Pages

stack.h: Abstract stack class
[platform independant portions of code]


Data Structures

struct  Stack

Defines

#define STACK_EXPAND_UP   (1)
#define STACK_EXPAND_DOWN   (0)

Functions

void stackPush (Stack *stack, long data)
long stackPop (Stack *stack)
long stackPeek (Stack *stack, long offset)
void stackPoke (Stack *stack, long offset, long data)
void stackRemove (Stack *stack, long offset, long count)
void stackInsert (Stack *stack, long offset, long *data, long count)
void stackDisplay (Stack *stack)

Detailed Description

 *  *  *  * This file defines a interface for working with abstract stacks

Define Documentation

#define STACK_EXPAND_DOWN   (0)
 

Definition at line 29 of file stack.h.

#define STACK_EXPAND_UP   (1)
 

Definition at line 28 of file stack.h.


Function Documentation

void stackDisplay Stack stack  ) 
 

void stackInsert Stack stack,
long  offset,
long *  data,
long  count
 

long stackPeek Stack stack,
long  offset
 

void stackPoke Stack stack,
long  offset,
long  data
 

long stackPop Stack stack  ) 
 

void stackPush Stack stack,
long  data
 

void stackRemove Stack stack,
long  offset,
long  count
 


Generated on Wed Mar 22 20:36:34 2006 for ndk by  doxygen 1.4.4