comparison include/hashtab.h @ 67:f6334be47118

update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
author nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
date Tue, 22 Mar 2011 17:18:12 +0900
parents 77e2b8dfacca
children 04ced10e8804
comparison
equal deleted inserted replaced
65:65488c3d617d 67:f6334be47118
1 /* An expandable hash tables datatype. 1 /* An expandable hash tables datatype.
2 Copyright (C) 1999, 2000, 2002, 2003, 2004, 2005, 2009 2 Copyright (C) 1999, 2000, 2002, 2003, 2004, 2005, 2009, 2010
3 Free Software Foundation, Inc. 3 Free Software Foundation, Inc.
4 Contributed by Vladimir Makarov (vmakarov@cygnus.com). 4 Contributed by Vladimir Makarov (vmakarov@cygnus.com).
5 5
6 This program is free software; you can redistribute it and/or modify 6 This program is free software; you can redistribute it and/or modify
7 it under the terms of the GNU General Public License as published by 7 it under the terms of the GNU General Public License as published by
155 extern htab_t htab_create_alloc_ex (size_t, htab_hash, 155 extern htab_t htab_create_alloc_ex (size_t, htab_hash,
156 htab_eq, htab_del, 156 htab_eq, htab_del,
157 void *, htab_alloc_with_arg, 157 void *, htab_alloc_with_arg,
158 htab_free_with_arg); 158 htab_free_with_arg);
159 159
160 extern htab_t htab_create_typed_alloc (size_t, htab_hash, htab_eq, htab_del,
161 htab_alloc, htab_alloc, htab_free);
162
160 /* Backward-compatibility functions. */ 163 /* Backward-compatibility functions. */
161 extern htab_t htab_create (size_t, htab_hash, htab_eq, htab_del); 164 extern htab_t htab_create (size_t, htab_hash, htab_eq, htab_del);
162 extern htab_t htab_try_create (size_t, htab_hash, htab_eq, htab_del); 165 extern htab_t htab_try_create (size_t, htab_hash, htab_eq, htab_del);
163 166
164 extern void htab_set_functions_ex (htab_t, htab_hash, 167 extern void htab_set_functions_ex (htab_t, htab_hash,