Line 1... |
Line 1... |
/* An expandable hash tables datatype.
|
/* An expandable hash tables datatype.
|
Copyright (C) 1999, 2000, 2002, 2003, 2004 Free Software Foundation, Inc.
|
Copyright (C) 1999, 2000, 2002, 2003, 2004, 2005, 2009
|
|
Free Software Foundation, Inc.
|
Contributed by Vladimir Makarov (vmakarov@cygnus.com).
|
Contributed by Vladimir Makarov (vmakarov@cygnus.com).
|
|
|
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify
|
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
the Free Software Foundation; either version 2 of the License, or
|
the Free Software Foundation; either version 2 of the License, or
|
Line 94... |
Line 95... |
(implementation) of this type is not needed for using the hash
|
(implementation) of this type is not needed for using the hash
|
tables. All work with hash table should be executed only through
|
tables. All work with hash table should be executed only through
|
functions mentioned below. The size of this structure is subject to
|
functions mentioned below. The size of this structure is subject to
|
change. */
|
change. */
|
|
|
struct htab GTY(())
|
struct GTY(()) htab {
|
{
|
|
/* Pointer to hash function. */
|
/* Pointer to hash function. */
|
htab_hash hash_f;
|
htab_hash hash_f;
|
|
|
/* Pointer to comparison function. */
|
/* Pointer to comparison function. */
|
htab_eq eq_f;
|
htab_eq eq_f;
|