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
1999-05-03 07:29:11 +00:00
2001-08-29 20:03:08 +00:00
2001-01-09 21:05:35 +00:00
1999-05-03 07:29:11 +00:00
2002-02-21 22:19:14 +00:00
2000-12-19 22:01:20 +00:00
2002-02-05 17:53:17 +00:00
2002-02-08 05:01:25 +00:00
2001-08-23 14:51:49 +00:00
2001-08-23 14:51:49 +00:00
1999-05-03 07:29:11 +00:00
1999-05-03 07:29:11 +00:00
1999-05-03 07:29:11 +00:00
1999-05-03 07:29:11 +00:00
2001-08-17 06:33:05 +00:00
2002-01-28 22:03:14 +00:00
2000-07-05 19:28:06 +00:00
2001-08-23 14:51:49 +00:00
2001-10-24 20:32:09 +00:00
2001-08-23 14:51:49 +00:00
2002-02-21 22:19:14 +00:00
2001-05-08 14:35:18 +00:00
2001-07-19 00:04:29 +00:00
2001-08-02 23:27:47 +00:00