Files
fsnap/include/stack.h
2026-08-27 00:11:35 +02:00

16 lines
287 B
C

#ifndef STACK_H
#define STACK_H
#include <stdbool.h>
struct Stack;
struct Stack *StackNew();
bool StackEmpty(const struct Stack *);
void *StackTop(const struct Stack *);
void *StackPop(struct Stack *);
int StackPush(struct Stack *, void *);
void StackRelease(struct Stack *);
#endif