mirror of
https://github.com/fscotto/fsnap.git
synced 2026-11-26 03:09:51 +00:00
16 lines
291 B
C
16 lines
291 B
C
#ifndef STACK_H
|
|
#define STACK_H
|
|
|
|
#include <stdbool.h>
|
|
|
|
struct Stack;
|
|
|
|
struct Stack *StackNew(void);
|
|
bool StackEmpty(const struct Stack *);
|
|
void *StackTop(const struct Stack *);
|
|
void *StackPop(struct Stack *);
|
|
int StackPush(struct Stack *, void *);
|
|
void StackRelease(struct Stack *);
|
|
|
|
#endif
|