20,741
edits
| Line 181: | Line 181: | ||
} | } | ||
</syntaxhighlight> | </syntaxhighlight> | ||
The function poolsize() just iterates over all memory blocks in the pool, and computes the total size of the pool by adding up the "size" field of all blocks in the linked list. | |||
= Allocating Nasal types = | = Allocating Nasal types = | ||