.
This commit is contained in:
parent
b06efe88a2
commit
5477252c23
1 changed files with 5 additions and 4 deletions
|
|
@ -133,10 +133,11 @@ When authoring a new module, use this as a base plate:
|
||||||
Memory Management
|
Memory Management
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
If a custom type needs memory to function, it should
|
If a custom type needs dynamically allocated memory to
|
||||||
always assume the memory it requested came from an arena
|
function, it should always assume the memory it requested
|
||||||
allocator. This means it is the responsibility of the
|
came from an arena allocator. This means it is the
|
||||||
arena to free the memory, not the custom data type.
|
responsibility of the arena to free the memory, not the
|
||||||
|
custom data type.
|
||||||
|
|
||||||
In other words:
|
In other words:
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue