comparison src/data.c @ 456:e7ef97881643 r21-2-43

Import from CVS: tag r21-2-43
author cvs
date Mon, 13 Aug 2007 11:41:24 +0200
parents 3d3049ae1304
children c33ae14dd6d0
comparison
equal deleted inserted replaced
455:5b97c1cd6ed0 456:e7ef97881643
1941 1941
1942 DEFUN ("make-weak-list", Fmake_weak_list, 0, 1, 0, /* 1942 DEFUN ("make-weak-list", Fmake_weak_list, 0, 1, 0, /*
1943 Return a new weak list object of type TYPE. 1943 Return a new weak list object of type TYPE.
1944 A weak list object is an object that contains a list. This list behaves 1944 A weak list object is an object that contains a list. This list behaves
1945 like any other list except that its elements do not count towards 1945 like any other list except that its elements do not count towards
1946 garbage collection -- if the only pointer to an object in inside a weak 1946 garbage collection -- if the only pointer to an object is inside a weak
1947 list (other than pointers in similar objects such as weak hash tables), 1947 list (other than pointers in similar objects such as weak hash tables),
1948 the object is garbage collected and automatically removed from the list. 1948 the object is garbage collected and automatically removed from the list.
1949 This is used internally, for example, to manage the list holding the 1949 This is used internally, for example, to manage the list holding the
1950 children of an extent -- an extent that is unused but has a parent will 1950 children of an extent -- an extent that is unused but has a parent will
1951 still be reclaimed, and will automatically be removed from its parent's 1951 still be reclaimed, and will automatically be removed from its parent's