2014-01-17 15:49:43 by Henrik Grubbström (Grubba) <firstname.lastname@example.org>
GC: Give some more info to destruct_cb().
*! @member function(:void) "post_cb" *! This function is called when the mark and sweep pass of the gc *! is done.
*! @member function(object:void) "destruct_cb"
*! @member function(object
*! This function is called once for each object that is part of *! a cycle just before the gc will destruct it.
*! The arguments are:
*! The object to be destructed.
*! The reason for it being destructed. One of:
*! @value Object.DESTRUCT_CLEANUP
*! Destructed during exit.
*! @value Object.DESTRUCT_GC
*! Destructed during normal implicit or explicit @[gc()].
*! The number of references it had.
*! @member function(int:void) "done_cb" *! This function is called when the gc is done and about to exit. *! The argument is the same value as will be returned by gc().