20,741
edits
m (→Objective) |
m (→Memory blocks) |
||
| Line 38: | Line 38: | ||
[[File:NasalNewBlockCallgraph.png|thumb|400px|Callgraph for newBlock()]] | [[File:NasalNewBlockCallgraph.png|thumb|400px|Callgraph for newBlock()]] | ||
Each block contains a field to store its size, a pointer to the allocated memory, and another pointer to the next block. | |||
<syntaxhighlight lang="C"> | <syntaxhighlight lang="C"> | ||