20,741
edits
| Line 357: | Line 357: | ||
= garbageCollect() = | = garbageCollect() = | ||
This is the function that does the mark/sweep part using mark() to | This is the function that does the mark/sweep part using mark() to recursively mark reachable objects, and reap() to collect unreachable objects. | ||
https://gitorious.org/fg/simgear/blobs/next/simgear/nasal/gc.c#line35 | https://gitorious.org/fg/simgear/blobs/next/simgear/nasal/gc.c#line35 | ||