aboutsummaryrefslogtreecommitdiff
path: root/stack.h
blob: cd95b7285b041b8a0cd20a65042b1227ba40c467 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/* $Id$ */
/********************************************************************
 * File: stack.h
 *
 * Simple stack implementation header.
 *
 * Author: M. Tim Jones <mtj@mtjones.com>
 *
 */

#ifndef __STACK_H
#define __STACK_H

__BEGIN_DECLS
void stackInit(void);
int stackNumElems(void);
unsigned int stackTop(void);
void stackPush(unsigned int value);
unsigned int stackPop(void);
__END_DECLS

#endif