Revert back to using separate tree and node
authorLukáš Jiřiště <gymnazium.jiriste@gmail.com>
Thu, 31 Jul 2025 12:12:53 +0000 (14:12 +0200)
committerLukáš Jiřiště <gymnazium.jiriste@gmail.com>
Thu, 31 Jul 2025 12:12:53 +0000 (14:12 +0200)
commit0352103c544c87c5a8a046c92a41c2e00fee268d
tree28c0564247c1852ec4692f0a9cf7588377e051e3
parentc5bdc376a5f60fd9ed96aa69f78bc4f073215254
Revert back to using separate tree and node

Because the node uses flexible array member it should not be
instantiated on stack. Hence a separate type for t_tree is needed so
that user may use tree on stack (as it is convenient).
Makefile
ft_struct/ft_tree_access_root.c [new file with mode: 0644]
ft_struct/ft_tree_free.c
ft_struct/ft_tree_init.c
inc/ft_struct.h