Normed most of the stdme
This commit is contained in:
parent
882d5cb5bb
commit
ac5458d42c
31 changed files with 149 additions and 617 deletions
|
|
@ -6,23 +6,23 @@
|
|||
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2024/05/07 12:46:18 by maiboyer #+# #+# */
|
||||
/* Updated: 2024/05/14 18:32:06 by maiboyer ### ########.fr */
|
||||
/* Updated: 2024/07/10 17:47:21 by maiboyer ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#include "me/mem/_allocator.h"
|
||||
|
||||
void *mem_realloc(void *ptr, t_usize size)
|
||||
void *mem_realloc(void *ptr, t_usize size)
|
||||
{
|
||||
t_allocator *a;
|
||||
t_allocator *a;
|
||||
|
||||
a = global_allocator();
|
||||
return (a->realloc(a, ptr, size));
|
||||
}
|
||||
|
||||
void *mem_realloc_array(void *ptr, t_usize size, t_usize count)
|
||||
void *mem_realloc_array(void *ptr, t_usize size, t_usize count)
|
||||
{
|
||||
t_allocator *a;
|
||||
t_allocator *a;
|
||||
|
||||
a = global_allocator();
|
||||
return (a->realloc_array(a, ptr, size, count));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue