24 lines
304 B
C
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);
|
|
}
|
|
|