diff --git a/stack.c b/stack.c new file mode 100644 index 0000000000000000000000000000000000000000..4e285201848e922621d38654a3b27143e0432948 --- /dev/null +++ b/stack.c @@ -0,0 +1,32 @@ +#include "stack.h" +#include <string.h> /* strdup */ +#include <stdio.h> /* printf */ +#include <stdlib.h> /* malloc, free */ +#include <stdbool.h> + +// const empty_stack = false; + +// bool StackIsEmpty(stack *s) +// { +// return s == NULL; +// } + +// stack StackPush(stack s) { +// stack *new_s = malloc(sizeof(stack)); +// new_s-> +// return +// } + + +// stack stackHead(stack *s) +// { stack neww_s; +// neww_s = LocationPrint(loc); +// LocationDelete(s); +// return new_s; +// } + +// stack stackPop(stack *s) +// { +// stack old_s = stackHead(s); +// return *s; +// } \ No newline at end of file