mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-21 00:07:36 +08:00
* hashtab.h: Change void * to PTR where necessary.
This commit is contained in:
parent
bb5d559a73
commit
789080693e
@ -1,3 +1,7 @@
|
|||||||
|
2000-11-03 Hans-Peter Nilsson <hp@bitrange.com>
|
||||||
|
|
||||||
|
* hashtab.h: Change void * to PTR where necessary.
|
||||||
|
|
||||||
2000-10-11 Mark Mitchell <mark@codesourcery.com>
|
2000-10-11 Mark Mitchell <mark@codesourcery.com>
|
||||||
|
|
||||||
* splay-tree.h (splay_tree_predecessor): Declare.
|
* splay-tree.h (splay_tree_predecessor): Declare.
|
||||||
|
@ -80,7 +80,7 @@ struct htab
|
|||||||
htab_del del_f;
|
htab_del del_f;
|
||||||
|
|
||||||
/* Table itself. */
|
/* Table itself. */
|
||||||
void **entries;
|
PTR *entries;
|
||||||
|
|
||||||
/* Current size (in entries) of the hash table */
|
/* Current size (in entries) of the hash table */
|
||||||
size_t size;
|
size_t size;
|
||||||
@ -112,12 +112,12 @@ extern htab_t htab_create PARAMS ((size_t, htab_hash,
|
|||||||
extern void htab_delete PARAMS ((htab_t));
|
extern void htab_delete PARAMS ((htab_t));
|
||||||
extern void htab_empty PARAMS ((htab_t));
|
extern void htab_empty PARAMS ((htab_t));
|
||||||
|
|
||||||
extern void *htab_find PARAMS ((htab_t, const void *));
|
extern PTR htab_find PARAMS ((htab_t, const void *));
|
||||||
extern void **htab_find_slot PARAMS ((htab_t, const void *,
|
extern PTR *htab_find_slot PARAMS ((htab_t, const void *,
|
||||||
enum insert_option));
|
enum insert_option));
|
||||||
extern void *htab_find_with_hash PARAMS ((htab_t, const void *,
|
extern PTR htab_find_with_hash PARAMS ((htab_t, const void *,
|
||||||
hashval_t));
|
hashval_t));
|
||||||
extern void **htab_find_slot_with_hash PARAMS ((htab_t, const void *,
|
extern PTR *htab_find_slot_with_hash PARAMS ((htab_t, const void *,
|
||||||
hashval_t,
|
hashval_t,
|
||||||
enum insert_option));
|
enum insert_option));
|
||||||
extern void htab_clear_slot PARAMS ((htab_t, void **));
|
extern void htab_clear_slot PARAMS ((htab_t, void **));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user