This commit is contained in:
Judah Caruso 2025-05-27 00:54:00 -06:00
parent b06efe88a2
commit 5477252c23

View file

@ -133,10 +133,11 @@ When authoring a new module, use this as a base plate:
Memory Management
-----------------
If a custom type needs memory to function, it should
always assume the memory it requested came from an arena
allocator. This means it is the responsibility of the
arena to free the memory, not the custom data type.
If a custom type needs dynamically allocated memory to
function, it should always assume the memory it requested
came from an arena allocator. This means it is the
responsibility of the arena to free the memory, not the
custom data type.
In other words: