Jim Blandy 2bbcdae974 include:
Allow the user to specify functions for allocating memory for
splay tree roots and nodes.
* splay-tree.h (splay_tree_allocate_fn, splay_tree_deallocate_fn):
New types.
(splay_tree): New fields: `allocate', `deallocate', and
`allocate_data'.
(splay_tree_new_with_allocator): New function declaration.

libiberty:

* splay-tree.c (splay_tree_xmalloc_allocate,
splay_tree_xmalloc_deallocate): New functions.
(splay_tree_new): Call splay_tree_new_with_allocator, passing the
above functions and a dummy data pointer.
(splay_tree_new_with_allocator): New function.
(splay_tree_delete_helper, splay_tree_delete, splay_tree_insert,
splay_tree_remove): Use the splay tree's allocation and
deallocation functions.
2002-02-21 22:19:14 +00:00
..
2001-09-18 10:00:23 +00:00
2002-02-13 18:14:48 +00:00
2001-08-29 20:03:08 +00:00
2002-02-21 22:19:14 +00:00
2002-02-05 17:53:17 +00:00
2002-02-08 05:01:25 +00:00
2002-01-28 22:03:14 +00:00
2001-10-24 20:32:09 +00:00
2002-02-21 22:19:14 +00:00