Add a stack structure
authorLukas Jiriste <ljiriste@student.42prague.com>
Thu, 20 Jun 2024 15:50:54 +0000 (17:50 +0200)
committerLukas Jiriste <ljiriste@student.42prague.com>
Thu, 20 Jun 2024 15:50:54 +0000 (17:50 +0200)
commitc37e30beca72f9e54b71e148682a54ce33a38cbe
treec987ef8ba2d99fbf937788d96a80acf05dfa0e7c
parent926fcc3f8158b5e2577c7a8aadc92370506c9b97
Add a stack structure

Add a classic FILO stack with push, top, pop and some other functions.
It is basically just a wrapper for t_vec.

It is added into a new directory ft_struct. I should have made it
instead of the ft_arr dir. I may later move t_vec and t_mat to
ft_struct.
Makefile
ft_struct/ft_stack_free.c [new file with mode: 0644]
ft_struct/ft_stack_init.c [new file with mode: 0644]
ft_struct/ft_stack_pop.c [new file with mode: 0644]
ft_struct/ft_stack_pop_forget.c [new file with mode: 0644]
ft_struct/ft_stack_push.c [new file with mode: 0644]
ft_struct/ft_stack_top.c [new file with mode: 0644]
inc/ft_struct.h [new file with mode: 0644]
inc/libft.h