-
由 Eric Wong 提交于
`hashmap_free_entries' behaves like `container_of' and passes the offset of the hashmap_entry struct to the internal `hashmap_free_' function, allowing the function to free any struct pointer regardless of where the hashmap_entry field is located. `hashmap_free' no longer takes any arguments aside from the hashmap itself. Signed-off-by: NEric Wong <e@80x24.org> Reviewed-by: NDerrick Stolee <stolee@gmail.com> Signed-off-by: NJunio C Hamano <gitster@pobox.com>
c8e424c9