Name
Module Tree Garbage Collector -- Structures and APIs
Description
This is module is internally used to manage the number of gdome2 live references.
Externally you can use this module to test the number of live references in your
Document with gdome_treegc_livenodes() function.
Details
gdome_treegc_livenodes ()
int gdome_treegc_livenodes (GdomeNode *node); |
gdome_treegc_addNode ()
Increase the livenodes field
gdome_treegc_delNode ()
Decrease the livenodes field. If the field reaches zero
(that is, there are no more live wrappers) free the whole document tree
gdome_treegc_invalidateNode ()
void gdome_treegc_invalidateNode (GdomeNode *node); |
Set the n field of the wrapper to NULL and
decrease the livenode field of the document