]> git.ipfire.org Git - thirdparty/gcc.git/commit - libiberty/hashtab.c
hashtab.h (htab_alloc_with_arg, [...]): Add new types.
authorDaniel Jacobowitz <drow@mvista.com>
Sun, 26 Jan 2003 07:09:41 +0000 (07:09 +0000)
committerDaniel Jacobowitz <drow@gcc.gnu.org>
Sun, 26 Jan 2003 07:09:41 +0000 (07:09 +0000)
commit74828682c7ad2a365bb92249e678f7ff1642ef7c
tree6d5596276a7688cce28dd2bf1d38c4f18a80d06c
parent7890e8f32010931d748d5b60b989ee84e608dfa0
hashtab.h (htab_alloc_with_arg, [...]): Add new types.

include/
* hashtab.h (htab_alloc_with_arg, htab_free_with_arg): Add new types.
(struct htab): Add alloc_arg, alloc_with_arg_f, free_with_arg_f.
(htab_create_alloc_ex): New prototype.
(htab_set_functions_ex): New prototype.

libiberty/
* hashtab.c (htab_create_alloc_ex): New function.
(hatab_set_functions_ex): New function.
(htab_delete, htab_expand): Support alternate allocation functions.

From-SVN: r61820
include/ChangeLog
include/hashtab.h
libiberty/ChangeLog
libiberty/hashtab.c