aboutsummaryrefslogtreecommitdiff
path: root/stack.h
blob: a5b97912ef8a627820c61b43670810aa24fd310b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
/********************************************************************
 * 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