_mesa_hash_table_insert(struct hash_table *ht, const void *key, void *data)
{
assert(ht->key_hash_function);
- hash_table_insert(ht, ht->key_hash_function(key), key, data);
+ return hash_table_insert(ht, ht->key_hash_function(key), key, data);
}
struct hash_entry *
const void *key, void *data)
{
assert(ht->key_hash_function == NULL || hash == ht->key_hash_function(key));
- hash_table_insert(ht, hash, key, data);
+ return hash_table_insert(ht, hash, key, data);
}
/**