Allocator V1.0

* Allocator Version 1.0
This commit is contained in:
Maix0 2024-05-18 15:05:28 +02:00 committed by GitHub
parent 04691819f7
commit 5d2202a0c9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 609 additions and 74 deletions

View file

@ -0,0 +1,35 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* dummy_block.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: maiboyer <maiboyer@student.42.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/05/12 22:51:55 by maiboyer #+# #+# */
/* Updated: 2024/05/17 15:28:09 by maiboyer ### ########.fr */
/* */
/* ************************************************************************** */
#include "aq/internal_vg_funcs.h"
#ifndef VGFUNCS
void vg_block_malloc(void *ptr, t_usize size)
{
(void)(ptr);
(void)(size);
}
void vg_block_resize(void *ptr, t_usize oldsize, t_usize newsize)
{
(void)(ptr);
(void)(oldsize);
(void)(newsize);
}
void vg_block_free(void *ptr)
{
(void)(ptr);
}
#endif