Memory Zones

First draft of memory zone functionality. Can create a zone and allocate
you memory from the zone. Also has the ability to clear zones and to
free. There is no way yet to free anything that has been allocated on
the zones.
This commit is contained in:
2024-02-07 18:25:13 -05:00
parent 6f32314daa
commit 1448d3336b
7 changed files with 128 additions and 9 deletions

View File

@@ -5,7 +5,7 @@ project(quantum-utils)
set(quantum-src "./quantum/src/")
set(test_stuff-src "./test_stuff/src/")
add_library(quantum SHARED ${quantum-src}test.c)
add_library(quantum SHARED ${quantum-src}memory/zone.c)
add_executable(test_stuff ${test_stuff-src}main.c)
target_link_libraries(test_stuff quantum)