Eric Wong
c8e424c9c9
hashmap: introduce hashmap_free_entries
...
`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: Eric Wong <e@80x24.org>
Reviewed-by: Derrick Stolee <stolee@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2019-10-07 10:20:11 +09:00
..
2019-04-10 12:52:50 +09:00
2019-07-29 12:38:22 -07:00
2019-01-02 13:05:30 -08:00
2019-05-28 10:51:01 -07:00
2019-07-19 11:30:20 -07:00
2019-07-29 12:38:16 -07:00
2019-01-24 12:35:44 -08:00
2019-06-27 12:45:17 -07:00
2019-01-24 11:55:06 -08:00
2019-01-24 11:55:06 -08:00
2019-02-06 22:05:23 -08:00
2019-08-22 12:34:11 -07:00
2019-07-19 08:12:44 -07:00
2019-07-29 12:38:22 -07:00
2019-05-13 14:22:53 +09:00
2019-08-05 14:33:39 -07:00
2019-03-08 10:31:24 +09:00
2019-07-29 12:38:22 -07:00
2019-01-29 12:47:54 -08:00
2018-11-13 14:22:02 +09:00
2019-10-07 10:20:11 +09:00
2019-01-24 11:55:06 -08:00
2019-01-24 11:55:06 -08:00
2019-03-07 09:59:54 +09:00
2019-04-25 16:41:12 +09:00
2019-10-07 10:20:11 +09:00
2019-07-11 14:31:04 -07:00
2019-10-07 10:20:11 +09:00
2019-03-20 18:34:09 +09:00
2019-10-07 10:20:11 +09:00
2019-03-21 12:03:35 +09:00
2019-06-20 10:18:09 -07:00
2019-08-05 14:31:24 -07:00
2019-04-01 11:57:39 +09:00
2019-08-22 12:34:10 -07:00
2019-05-13 14:22:53 +09:00
2019-02-20 12:31:56 -08:00
2019-05-15 11:01:40 +09:00
2019-07-25 14:27:06 -07:00
2019-06-19 07:12:49 -07:00
2019-08-02 09:55:03 -07:00
2019-06-13 11:28:53 -07:00
2019-03-21 12:03:35 +09:00
2019-01-14 15:29:28 -08:00
2019-01-24 11:55:06 -08:00
2019-01-24 11:55:06 -08:00
2019-02-06 22:05:23 -08:00
2019-08-22 12:34:10 -07:00
2019-07-29 12:38:22 -07:00
2019-05-13 14:22:54 +09:00
2019-06-11 10:34:40 -07:00
2019-01-24 11:55:06 -08:00
2019-06-20 10:18:09 -07:00
2019-01-15 15:38:29 -08:00
2019-07-31 13:15:51 -07:00
2019-04-01 11:57:38 +09:00
2019-04-26 10:54:03 +09:00
2019-05-08 19:27:43 +09:00
2019-03-07 09:59:55 +09:00
2019-06-20 10:18:09 -07:00
2019-06-21 09:38:29 -07:00
2019-01-18 13:49:52 -08:00
2019-05-13 14:22:53 +09:00
2019-05-13 14:22:53 +09:00
2019-07-29 12:39:14 -07:00
2019-07-29 12:38:22 -07:00
2019-02-06 22:05:27 -08:00
2019-05-13 14:22:54 +09:00
2019-07-31 13:26:25 -07:00
2019-05-09 00:37:24 +09:00
2019-01-15 15:38:29 -08:00
2019-07-19 11:30:21 -07:00
2019-06-20 13:13:04 -07:00
2019-01-24 11:55:06 -08:00
2019-07-19 11:30:21 -07:00
2019-07-29 12:38:17 -07:00
2019-01-02 13:05:30 -08:00
2018-12-15 12:24:33 +09:00
2019-05-13 14:22:54 +09:00
2019-05-19 16:45:30 +09:00
2019-07-25 13:59:23 -07:00
2018-12-26 15:41:47 -08:00
2019-07-29 12:38:18 -07:00
2019-06-05 14:39:28 -07:00
2019-06-20 10:18:09 -07:00
2019-06-27 12:45:17 -07:00
2019-05-13 14:22:53 +09:00
2019-07-31 14:38:56 -07:00
2019-06-19 08:19:21 -07:00
2019-08-13 13:10:09 -07:00
2019-05-13 14:22:53 +09:00