commit | e2d591847c2a2b3f02d9b7bb4242cd92d9297ec9 | [log] [tgz] |
---|---|---|
author | Tim Peters <tim.peters@gmail.com> | Mon Nov 01 01:39:08 2004 +0000 |
committer | Tim Peters <tim.peters@gmail.com> | Mon Nov 01 01:39:08 2004 +0000 |
tree | da82b3e2338d758ca852f3d3a15d8a2d5a7634a1 | |
parent | cc2a866cb7439788b9083969b0f79b8483f3e071 [diff] |
gc list function cleanup. Introduced gc_list_move(), which captures the common gc_list_remove() + gc_list_append() sequence. In fact, no uses of gc_list_append() remained (they were all in a gc_list_move() sequence), so commented that one out. gc_list_merge(): assert that `from` != `to`; that was an implicit precondition, now verified in a debug build. Others: added comments about their purpose.