diff options
author | Jason Ekstrand <[email protected]> | 2015-01-15 07:58:07 -0800 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2015-01-15 13:21:27 -0800 |
commit | 8ed5305d28d9309d651dfec3fbf4349854694694 (patch) | |
tree | 0af9af419be48ecd3b00934cfd355c9285c1fd7d /src/util/hash_table.h | |
parent | f0aec4ee1e364927f3003cabafa644035bcd803c (diff) |
hash_table: Rename insert_with_hash to insert_pre_hashed
We already have search_pre_hashed. This makes the APIs match better.
Reviewed-by: Matt Turner <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/util/hash_table.h')
-rw-r--r-- | src/util/hash_table.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/hash_table.h b/src/util/hash_table.h index 7f9fd6288ea..eb9dbc333ec 100644 --- a/src/util/hash_table.h +++ b/src/util/hash_table.h @@ -70,8 +70,8 @@ void _mesa_hash_table_set_deleted_key(struct hash_table *ht, struct hash_entry * _mesa_hash_table_insert(struct hash_table *ht, const void *key, void *data); struct hash_entry * -_mesa_hash_table_insert_with_hash(struct hash_table *ht, uint32_t hash, - const void *key, void *data); +_mesa_hash_table_insert_pre_hashed(struct hash_table *ht, uint32_t hash, + const void *key, void *data); struct hash_entry * _mesa_hash_table_search(struct hash_table *ht, const void *key); struct hash_entry * |