20,741
edits
m (→Stack frames =) |
|||
| Line 44: | Line 44: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
= The GC interface = | |||
TODO: https://gitorious.org/fg/simgear/blobs/next/simgear/nasal/data.h#line204 | |||
= naNew() = | |||
As can be seen, the key allocator function is [https://gitorious.org/fg/simgear/blobs/next/simgear/nasal/misc.c#line66 naNew()]. naNew() is really just a fancy malloc() replacement, i.e. it's just getting passed the size of the requested memory region. | As can be seen, the key allocator function is [https://gitorious.org/fg/simgear/blobs/next/simgear/nasal/misc.c#line66 naNew()]. naNew() is really just a fancy malloc() replacement, i.e. it's just getting passed the size of the requested memory region. | ||