blob: e3c63e3938b4522774f8aa6b17f9cc63b4fd8cec (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#include "node.h"
typedef struct {
Node *head;
} Stack;
Stack *stack_init();
void *stack_peek(Stack *self);
int stack_size(Stack *self);
void stack_push(Stack *self, void *data);
void *stack_pop(Stack *self);
|