diff options
author | dec05eba <dec05eba@protonmail.com> | 2020-07-13 15:59:30 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-07-13 15:59:30 +0200 |
commit | ae0520e57267dbd866fc8cd25f66f4e6af2ac118 (patch) | |
tree | 22788688f1b588c3ad00c1ce3fe13da68b3a9382 /src/alloc.h | |
parent | a1ca82847eb356c6b85ada2ac11f38d98f6e085e (diff) |
Move c files into src directory
Diffstat (limited to 'src/alloc.h')
-rw-r--r-- | src/alloc.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/alloc.h b/src/alloc.h new file mode 100644 index 0000000..e8c6c85 --- /dev/null +++ b/src/alloc.h @@ -0,0 +1,10 @@ +#ifndef ALLOC_H +#define ALLOC_H + +#include <stddef.h> +#include <stdlib.h> + +void* alloc_or_crash(size_t size); +void* realloc_or_crash(void *mem, size_t new_size); + +#endif |