How the Nasal GC works: Difference between revisions

Jump to navigation Jump to search
m
Line 340: Line 340:


= reap() =
= reap() =
This is the collector function called by garbageCollect() which also frees elements and allocates new blocks:
This is the collector function called by garbageCollect() which also frees elements and allocates new blocks for the specified pool:


<syntaxhighlight lang="C">
<syntaxhighlight lang="C">
Line 379: Line 379:
}
}
</syntaxhighlight>
</syntaxhighlight>
 
= Contexts =
= Contexts =
https://gitorious.org/fg/simgear/blobs/next/simgear/nasal/code.h#line71
https://gitorious.org/fg/simgear/blobs/next/simgear/nasal/code.h#line71

Navigation menu