]> git.mxchange.org Git - simgear.git/commit
Nasal: add naGCSave/naGCRelease for preventing objects being garbage collected.
authorThomas Geymayer <tomgey@gmail.com>
Mon, 14 Oct 2013 22:19:32 +0000 (00:19 +0200)
committerThomas Geymayer <tomgey@gmail.com>
Mon, 14 Oct 2013 22:19:32 +0000 (00:19 +0200)
commitbb82b9d168239dd4dc0ab93b338143a25ed5ef51
treeb6b5ef98ec0316a2993568d7144487f60449a53b
parentb1f865d461986852d42e887af467352c47549912
Nasal: add naGCSave/naGCRelease for preventing objects being garbage collected.

These new functions are meant to replace the gcSave/gcRelease
methods of the NasalSystem class in FlightGear, as passing an
adapter to SimGear from FlightGear is quite a lot of useless work
just for being able to save objects.
simgear/nasal/code.c
simgear/nasal/code.h
simgear/nasal/gc.c
simgear/nasal/nasal.h