blob: b84ec2fad17e6ac8e68bd97aeeb7bab5b5419cd6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// synacor challenge ([email protected])
#include "util.h"
typedef struct {
u16 *data;
u16 pointer;
} Stack;
void stack_init(Stack *s);
void stack_free(Stack *s);
void stack_push(Stack *s, u16 value);
u16 stack_pop(Stack *s);
|