comparison src/data.c @ 369:1d62742628b6 r21-1-14

Import from CVS: tag r21-1-14
author cvs
date Mon, 13 Aug 2007 11:01:51 +0200
parents 972bbb6d6ca2
children cc15677e0335
comparison
equal deleted inserted replaced
368:397a7324211a 369:1d62742628b6
1967 1967
1968 DEFUN ("make-weak-list", Fmake_weak_list, 0, 1, 0, /* 1968 DEFUN ("make-weak-list", Fmake_weak_list, 0, 1, 0, /*
1969 Return a new weak list object of type TYPE. 1969 Return a new weak list object of type TYPE.
1970 A weak list object is an object that contains a list. This list behaves 1970 A weak list object is an object that contains a list. This list behaves
1971 like any other list except that its elements do not count towards 1971 like any other list except that its elements do not count towards
1972 garbage collection -- if the only pointer to an object in inside a weak 1972 garbage collection -- if the only pointer to an object is inside a weak
1973 list (other than pointers in similar objects such as weak hash tables), 1973 list (other than pointers in similar objects such as weak hash tables),
1974 the object is garbage collected and automatically removed from the list. 1974 the object is garbage collected and automatically removed from the list.
1975 This is used internally, for example, to manage the list holding the 1975 This is used internally, for example, to manage the list holding the
1976 children of an extent -- an extent that is unused but has a parent will 1976 children of an extent -- an extent that is unused but has a parent will
1977 still be reclaimed, and will automatically be removed from its parent's 1977 still be reclaimed, and will automatically be removed from its parent's