Remove unused _cairo_hash_table_size

This commit is contained in:
Anton Danilkin 2021-05-29 18:04:45 +02:00
parent c2bf6e8ae4
commit 1e27ca7d45
2 changed files with 0 additions and 17 deletions

View file

@ -84,7 +84,4 @@ _cairo_hash_table_foreach (cairo_hash_table_t *hash_table,
cairo_hash_callback_func_t hash_callback,
void *closure);
cairo_private unsigned long
_cairo_hash_table_size (cairo_hash_table_t *hash_table);
#endif

View file

@ -576,17 +576,3 @@ _cairo_hash_table_foreach (cairo_hash_table_t *hash_table,
_cairo_hash_table_manage (hash_table);
}
}
/**
* _cairo_hash_table_size:
* @hash_table: a hash table
*
* Gets the size of the hash table.
*
* Return value: the size of the hash table.
**/
unsigned long
_cairo_hash_table_size (cairo_hash_table_t *hash_table)
{
return hash_table->live_entries;
}