diff options
author | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-01-18 20:42:54 +0330 |
---|---|---|
committer | A404M <ahmadmahmoudiprogrammer@gmail.com> | 2025-01-18 20:49:30 +0330 |
commit | 43392fc66ab207e53a6924a2edbcd7ca0acecea8 (patch) | |
tree | 5a064c4e144035d1a07f31f767417b9e44b2ebbf /src/utils/memory.h |
initial commit
Diffstat (limited to 'src/utils/memory.h')
-rw-r--r-- | src/utils/memory.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/utils/memory.h b/src/utils/memory.h new file mode 100644 index 0000000..29bd3db --- /dev/null +++ b/src/utils/memory.h @@ -0,0 +1,7 @@ +#pragma once + +#include <stddef.h> + +extern void *a404m_malloc(size_t size); +extern void *a404m_realloc(void *restrict pointer, size_t size); +extern size_t a404m_malloc_usable_size(void *pointer); |