* Return the number of items in the map. */
| 301 | * Return the number of items in the map. |
| 302 | */ |
| 303 | static inline unsigned int hashmap_get_size(struct hashmap *map) |
| 304 | { |
| 305 | if (map->do_count_items) |
| 306 | return map->private_size; |
| 307 | |
| 308 | BUG("hashmap_get_size: size not set"); |
| 309 | return 0; |
| 310 | } |
| 311 | |
| 312 | /* |
| 313 | * Returns the hashmap entry for the specified key, or NULL if not found. |
no outgoing calls