aboutsummaryrefslogtreecommitdiff
path: root/include/splay-tree.h
AgeCommit message (Collapse)AuthorFilesLines
2002-02-21include:Jim Blandy1-0/+25
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.
2001-08-23merge from gccDJ Delorie1-4/+4
2001-05-07merge from gccDJ Delorie1-0/+4
2001-03-14Fix typos in ChangeLogs; add coff/external.h; fix copyright datesNick Clifton1-1/+1
2000-10-12merge from gcc repositoryDJ Delorie1-1/+7
2000-04-06 * splay-tree.h (splay_tree_remove): Declare.Richard Henderson1-0/+2
2000-02-22import libiberty from egcsgithub/cygnuscygnusIan Lance Taylor1-4/+5
1999-05-0319990502 sourceware importbinu_ss_19990502Richard Henderson1-0/+116