Files
42_INT_10_cube3d/srcs/mem/memorybook_utils.c
2022-03-25 21:27:24 +01:00

24 lines
304 B
C

#include "cube3d.h"
t_exit **mb_exit_func()
{
static t_exit *texit = NULL;
if (!texit)
texit = mb_alloc(sizeof(t_exit));
return (&texit);
}
t_list **mb_lst()
{
static t_list *lst = NULL;
return (&lst);
}
int mb_comp_addr(void *to_find, void *to_compare)
{
return (to_find == to_compare);
}