OSDN Git Service

include/
authordrow <drow@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 26 Jan 2003 07:09:41 +0000 (07:09 +0000)
committerdrow <drow@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 26 Jan 2003 07:09:41 +0000 (07:09 +0000)
commita21acbbb6249e0b28ac2bc5c90e19406520d3eff
tree6d5596276a7688cce28dd2bf1d38c4f18a80d06c
parentadb4084e05d8997ed196297c55bbf8b68d8d3b59
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@61820 138bc75d-0d04-0410-961f-82ee72b054a4
include/ChangeLog
include/hashtab.h
libiberty/ChangeLog
libiberty/hashtab.c