public inbox for src-cvs@sourceware.org help / color / mirror / Atom feed
From: jimb@sources.redhat.com To: src-cvs@sources.redhat.com Subject: src/libiberty ChangeLog splay-tree.c Date: Thu, 21 Feb 2002 14:19:00 -0000 [thread overview] Message-ID: <20020221221914.5250.qmail@sources.redhat.com> (raw) CVSROOT: /cvs/src Module name: src Changes by: jimb@sources.redhat.com 2002-02-21 14:19:13 Modified files: libiberty : ChangeLog splay-tree.c Log message: 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. Patches: http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/libiberty/ChangeLog.diff?cvsroot=src&r1=1.145&r2=1.146 http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/libiberty/splay-tree.c.diff?cvsroot=src&r1=1.7&r2=1.8
next reply other threads:[~2002-02-21 22:19 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2002-02-21 14:19 jimb [this message] -- strict thread matches above, loose matches on Subject: below -- 2010-12-08 16:24 dj 2008-01-19 1:18 dj 2005-11-07 16:36 dj 2004-12-07 20:02 dj 2003-05-07 19:15 dj 2002-04-14 21:15 cagney 2002-03-06 16:16 jimb 2001-05-07 9:21 dj 2000-09-15 8:16 dj 2000-04-05 17:16 rth
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=20020221221914.5250.qmail@sources.redhat.com \ --to=jimb@sources.redhat.com \ --cc=src-cvs@sources.redhat.com \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).