diff options
author | johannst <johannes.stoelp@gmail.com> | 2021-03-26 23:17:46 +0100 |
---|---|---|
committer | johannst <johannes.stoelp@gmail.com> | 2021-03-26 23:17:46 +0100 |
commit | 1d2a6f21294f8390b683e4e097cb49210ed832d1 (patch) | |
tree | 19f6854c3e1fa6a82ec4ed4bb57b2d3dadf979b8 /lib/include/alloc.h | |
parent | cf97ecd5b52c2f7a8953fd1674742d46fd15418a (diff) | |
download | dynld-1d2a6f21294f8390b683e4e097cb49210ed832d1.tar.gz dynld-1d2a6f21294f8390b683e4e097cb49210ed832d1.zip |
Added dyn allocator + syscall wrappers + minor fixes.
Diffstat (limited to 'lib/include/alloc.h')
-rw-r--r-- | lib/include/alloc.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/include/alloc.h b/lib/include/alloc.h new file mode 100644 index 0000000..baf8d3d --- /dev/null +++ b/lib/include/alloc.h @@ -0,0 +1,6 @@ +// Copyright (c) 2021 Johannes Stoelp + +#pragma once + +void* alloc(unsigned size); +void dealloc(void* ptr); |